wernerhp / ha.integration.load_shedding

A Home Assistant integration to track your load schedding schedule.
MIT License
113 stars 21 forks source link

Entities unavailable in City of Johannesburg #86

Closed meneerfrikkie closed 9 months ago

meneerfrikkie commented 10 months ago

Hi there, all my entities have become unavailable for a City of Johannesburg region since the load shedding schedules needed to be readded on the ESP app, could one kindly assist, many thanks!

fragtion commented 10 months ago

I was in the same boat and eventually got it working. Try these steps

1) Make sure you've backed up your API key or at least have that on hand ready to use, then:

Option 1 - Reconfigure the integration (remove and re-add the integration configuration/device)

2) Navigate to: Settings -> Devices & services -> Load shedding 3) Under "Integration entries" on the right side, remove the instance of "Load shedding" (it should contain 1 device and 5 entities) 4) Click "Add entry" and follow the wizard to select/add your new City Power area

Or if that doesn't work:

Option 2 - Reinstall and reconfigure the plugin from scratch

2) Navigate to: HACS -> Integrations -> Load shedding 3) Click the settings dots at top right, and click Remove.

Afterwards, you're going to need to update your dashboards etc to reflect the new sensor name.

If none of this works or you get an error when searching for your area while configuring, then make sure you haven't already reached your daily API allowance count limit for your ESP API key. If so, you may need to try again after 24 hours.

wernerhp commented 10 months ago

https://github.com/wernerhp/ha.integration.load_shedding/issues/85 This happens when City Power changes their schedules. Thanks for the nice instructions @fragtion

fouriec1 commented 9 months ago

Hi, I have the same issue as @meneerfrikkie

I also get the following error

API None/None TypeError: unsupported type for timedelta minutes component: NoneType

Any advice will be appreciated.

wernerhp commented 9 months ago

The answer is right there... ☝️

meneerfrikkie commented 9 months ago

Thank you very much @fragtion , managed to come right after following your instructions :)