Closed cryptk closed 10 months ago
Is there a way to share a video / screen capture of what's happening on your switches? The switch entity defined in the integration should optimistically store the state set when you call the turn_on or turn_off command for 30 seconds to compensate for the delay from Hayward's API.
I am also having this issue. When I switch my waterfall on, the state on the dashboard (and when requested via HA API) will show it is off until the next refresh. Of note, I am using the HA API to change the state (with api/services/switch/turn_on, or turn_off).
I've thought about updating my script to also POST to api/states/ to update the state to whichever command I sent while it waits for the next poll interval, but figured I would check in here as well.
Today I added this integration and have been testing it and notice the issue on this thread. I made a short video to help understand what happens A quick sequence of events:
This is related to the latency of the cloud and the way the Omnilogic API reports status. Nothing I can do on the cloud integration to change this behaviour unfortunately (I've tried).
Currently, when I toggle a switch for a water feature (Jets/Waterfalls/etc) the switch stays at the previous state until the next time the integration polls the omnilogic API. Could these switches assume the new state until the next poll?
This appears to be related to #18 , which was closed saying that the feature was already there, but it does not appear to be working for me. Is there something I need to do in order to have the integration opportunistically assume the new switch position until the next poll?