Open woytekbode opened 1 year ago
Am having the same issue. I have to look into this, did it not update after a while?
It did update after a while so I assume it updates with a new hourly price?
I think the issue stems from the async_added_to_hass
override in EntsoeSensor
since that is called when the sensor is reloaded in hass at the end of reconfiguration. I have a commit that just removes that override and it seems to solve this issue.
I'm not sure yet why the EntsoSensorExtraStoredData
is needed when all the data is in the coordinator. Couldn't the sensor just get everything from there?
I think the issue stems from the
async_added_to_hass
override inEntsoeSensor
since that is called when the sensor is reloaded in hass at the end of reconfiguration. I have a commit that just removes that override and it seems to solve this issue.I'm not sure yet why the
EntsoSensorExtraStoredData
is needed when all the data is in the coordinator. Couldn't the sensor just get everything from there?
This (still) works for me now, Thanks!
@evading appears to work for me, too. Maybe file a PR here with that change?
I am trying to tweak the price modifier template but can't figure out when the changes take effect. Any change I make doesn't appear to result in different prices even after I reload/reinstall the integration and after I restart HA. Even with something simple as current_price + 1.0.
Anything I might be missing? Or ideas on how to force an update?