djtimca / haomnilogic

Hayward Omnilogic integration for Home Assistant available through HACS
Apache License 2.0
18 stars 6 forks source link

Assume Switch / Light State When Changed #18

Closed djtimca closed 2 years ago

djtimca commented 2 years ago

The Hayward API is slow in updating the telemetry. Currently some switches and lights in this integration use a sleep to 'pause' HA until the state will be updated in the telemetry.

To handle the delay better the switches and lights should 'assume' the new state for a time (45 seconds for example) to allow the telemetry to catch up.

djtimca commented 2 years ago

Realized this fix was already there!