python-kasa/kasa/smart/modules
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
..
__init__.py Fix changing brightness when effect is active (#1019) 2024-07-01 13:59:24 +02:00
alarm.py Require explicit feature type (#1006) 2024-06-25 18:30:36 +02:00
autooff.py Handle module errors more robustly and add query params to light preset and transition (#1036) 2024-07-04 08:02:50 +01:00
batterysensor.py Handle module errors more robustly and add query params to light preset and transition (#1036) 2024-07-04 08:02:50 +01:00
brightness.py Fix changing brightness when effect is active (#1019) 2024-07-01 13:59:24 +02:00
childdevice.py Update docs with more howto examples (#968) 2024-06-19 09:53:40 +01:00
cloud.py Handle module errors more robustly and add query params to light preset and transition (#1036) 2024-07-04 08:02:50 +01:00
color.py Rename bulb interface to light and move fan and light interface to interfaces (#910) 2024-05-11 19:40:08 +01:00
colortemperature.py Rename bulb interface to light and move fan and light interface to interfaces (#910) 2024-05-11 19:40:08 +01:00
contactsensor.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
devicemodule.py Handle module errors more robustly and add query params to light preset and transition (#1036) 2024-07-04 08:02:50 +01:00
energy.py Add common energy module and deprecate device emeter attributes (#976) 2024-06-17 11:22:05 +01:00
fan.py Fix fan speed level when off and derive smart fan module from common fan interface (#957) 2024-06-06 15:18:34 +02:00
firmware.py Handle module errors more robustly and add query params to light preset and transition (#1036) 2024-07-04 08:02:50 +01:00
frostprotection.py Handle module errors more robustly and add query params to light preset and transition (#1036) 2024-07-04 08:02:50 +01:00
humiditysensor.py Handle module errors more robustly and add query params to light preset and transition (#1036) 2024-07-04 08:02:50 +01:00
led.py Fix smart led status to report rule status (#1002) 2024-06-23 07:22:29 +01:00
light.py Fix set_state for common light modules (#929) 2024-05-22 15:33:55 +02:00
lighteffect.py Fix changing brightness when effect is active (#1019) 2024-07-01 13:59:24 +02:00
lightpreset.py Fix light preset module when list contains lighting effects (#1048) 2024-07-04 17:22:47 +02:00
lightstripeffect.py Fix changing brightness when effect is active (#1019) 2024-07-01 13:59:24 +02:00
lighttransition.py Handle module errors more robustly and add query params to light preset and transition (#1036) 2024-07-04 08:02:50 +01:00
reportmode.py Handle module errors more robustly and add query params to light preset and transition (#1036) 2024-07-04 08:02:50 +01:00
temperaturecontrol.py Use first known thermostat state as main state (#1054) 2024-07-11 15:11:50 +02:00
temperaturesensor.py Handle module errors more robustly and add query params to light preset and transition (#1036) 2024-07-04 08:02:50 +01:00
time.py Require explicit feature type (#1006) 2024-06-25 18:30:36 +02:00
waterleaksensor.py Require explicit feature type (#1006) 2024-06-25 18:30:36 +02:00