ha-eskom-loadshedding icon indicating copy to clipboard operation
ha-eskom-loadshedding copied to clipboard

Area Name Update

Open adiweps opened this issue 1 year ago • 5 comments

Good day,

Is there a way to update your area? ESP yesterday released new schedules and area names have changed.

adiweps avatar Nov 06 '23 06:11 adiweps

Same here

Dyltong avatar Nov 06 '23 07:11 Dyltong

What I tried. Does not work Maybe someone else have better luck...

As far as I can figure out \\HomeAssistant\config\.storage\core.config_entries needs to be modified. The variable "area_id" needs to be updated.

The ID can be obtain by going to https://reqbin.com/curl Run script (from ESP) curl --location --request GET 'https://developer.sepush.co.za/business/2.0/areas_search?text=Johannesburg' \ --header 'token:YourID'

RaidersPlay avatar Nov 06 '23 09:11 RaidersPlay

Under settings, devices and services, eskom integration (http://homeassistant.local:8123/config/integrations/integration/eskom_loadshedding)

I clicked "add entry", used the same API key as before, and then found my area in joburg which had "new" at the end.

I then deleted the old entry.

This worked.

Dyltong avatar Nov 06 '23 10:11 Dyltong

Might be that the servers are being overloaded at the moment. After a few retires, I got it to update via the eskom integration guid. But still waiting for the schedule to update.

Was giving this originally... image

RaidersPlay avatar Nov 06 '23 11:11 RaidersPlay

Under settings, devices and services, eskom integration (http://homeassistant.local:8123/config/integrations/integration/eskom_loadshedding)

I clicked "add entry", used the same API key as before, and then found my area in joburg which had "new" at the end.

I then deleted the old entry.

This worked.

This worked, thank you

adiweps avatar Nov 06 '23 19:11 adiweps