Delay in state change when manually turning a switch ON (or OFF)

When I turn a switch (or light) on manually, there is a delay of anywhere from 0 to 30 seconds before Home Assistant is aware of the change. Seems like it must be a polling issue. Does anyone know how to decrease this lag between the actual state of the entity and what what HASS actually reports?



You can set a scan interval to reduce this delay. It’s in the docs;


That’s awesome - works perfectly to specify the scan_interval.

Thank you!