mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
a044063526
Instead of trying to use the first state when multiple are reported, iterate over the known states and pick the first matching. This will fix an issue where the device reports extra states (like `low_battery`) while having a known mode active. Related to https://github.com/home-assistant/core/issues/121335 |
||
---|---|---|
.. | ||
__init__.py | ||
test_autooff.py | ||
test_contact.py | ||
test_fan.py | ||
test_firmware.py | ||
test_humidity.py | ||
test_light_effect.py | ||
test_light_strip_effect.py | ||
test_lighttransition.py | ||
test_temperature.py | ||
test_temperaturecontrol.py | ||
test_waterleak.py |