lewisbenge / hass-amber-electric

Home Assistant Component to pull the latest energy prices from Amber Electric
MIT License
27 stars 7 forks source link

Sensor not updating on restart #3

Closed bacco007 closed 3 years ago

bacco007 commented 4 years ago

I've noticed that after restarting HA, the sensor doesnt download new data and stays on 0 for a period of time.

There is no error in the logs - which suggests that it could be related to the use of @Throttle for the update function

lewisbenge commented 4 years ago

Fixed in the recent commit.