python-kasa/kasa/tests/smart
Teemu R a044063526
Use first known thermostat state as main state (#1054)
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
2024-07-11 15:11:50 +02:00
..
features Do not expose child modules on parent devices (#964) 2024-06-10 05:59:37 +01:00
modules Use first known thermostat state as main state (#1054) 2024-07-11 15:11:50 +02:00
__init__.py Add T315 fixture, tests for humidity&temperature modules (#802) 2024-03-06 18:04:09 +00:00