basbruss/adaptive-cover

With restart of HA not recovering to state before restart

Opened this issue · 1 comments

What version of Adaptive Cover are you using?

1.4.2

What version of Home Assistant are you using?

2024.7.4

Checklist

  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of currently previous issues..

Describe the issue

When I restart HA the switches for lux and irradiance do not recover to the previous known state when the sensors for those patterns are not yet available (meaning: switches turned on). So after restart I have to turn them on again by hand to get the right mode of climate control again.

My sensors are in zigbee2mqtt and some remote services, which take some time to recover after a reboot.

Reproduction steps

  1. Configure lux and irradiance for adaptive cover and turn the strategy on.
  2. Restart HA
  3. Check recovery of devices of Adaptive Cover after restart.

Diagnostics dump

No response

Duplicate of #234 with the addition that this also applies for irradiance.