rogro82 / hass-variables

Home Assistant variables component
238 stars 58 forks source link

State of variables is not preserved after HA restart anymore #11

Closed OleksandrBerchenko closed 5 years ago

OleksandrBerchenko commented 5 years ago

After upgrading HA to 0.84.2 (and applying the latest hass-variables fix), variables with "restore": true don't preserve their state after HA restart anymore.

jghaanstra commented 5 years ago

I can confirm this. It seems this PR https://github.com/rogro82/hass-variables/pull/9 broke the restore functionality.

michbaeck commented 5 years ago

Same here.

rafuz commented 5 years ago

I can confirm, same issue

jghaanstra commented 5 years ago

@rogro82 any plans on fixing this? It messes up my automation and data every time I reboot or upgrade. Or should I look for a different solution (which I dont want to because this always worked perfect for me).

OleksandrBerchenko commented 5 years ago

Yeah, this issue is really annoying: my HA infrastructure is being developed and I have to reboot HA several times per day. If this issue is not going to be fixed soon, I will probably temporarily revert to HA 0.83. I just want some clarity :)

It would be really sad to discard this component because of this bug.

Thanks!

OleksandrBerchenko commented 5 years ago

The fix works, thank you!