-
-
Notifications
You must be signed in to change notification settings - Fork 12
[v1.15.1] Switch Entity Latency #175
Description
When using the switch entity to toggle a schedule, the state does not update immediately. Example: I have a group called Thermostat, which made the entity switch.schedule_thermostat. When I toggle this switch to on, the schedule will enable immediately, but the state of switch.schedule_thermostat will remain in the off position. I noticed that if I wait, the entity will update to be the correct state at 24 seconds after each minute. I suspect there is a sync occurring on a 60 second interval that updates the state of the switch.
Why this matters: I use this switch to automate my schedule and provide a UI for controlling my climate entities. This behavior makes manually turning on schedules uncertain and can mess up automations that rely on checking if a schedule is enabled or not.
Let me know if my example isn't explained well or if you need additional information, happy to provide.