6bf35232b9
We only want to force a query if we don't have any previous state. Otherwise, we should be tracking the state via continuous status updates. For lights (not switches) the extra query was also superfluous since it was already querying on startup. We should probably have a timeout on that so at some point we'll requery in case remote end disconnected/rebooted, etc. Leaving for another PR. |
||
---|---|---|
.. | ||
__init__.py | ||
binary_sensor.py | ||
cover.py | ||
light.py | ||
manifest.json | ||
scene.py | ||
switch.py |