Repository navigation
New: outage calendars
Each configured account now gets two native Home Assistant calendars:
- Scheduled Outages — forecast outage windows from the CCMS schedule for today and tomorrow.
- Actual Outages — completed feeder OFF-to-ON periods from the event log, plus an event for an outage currently reported as OFF.
Both calendars use data already fetched by the integration; they add no portal requests. Schedule events are forecasts, and actual history is limited to the events the portal provides. Times are interpreted in Pakistan time and displayed in Home Assistant’s configured timezone.
Fixed: missing feeder codes
The coordinator now safely handles null, blank, and malformed feeder-code fields. It tries the load-info code first, then the customer-details code. If neither is available, it skips only the schedule request instead of failing the coordinator refresh. Schedule data will remain unavailable until the portal supplies a usable feeder code.
Thanks to Usama (@DastardlyBaker) for reporting the IESCO case in issue #1.