python-kasa/kasa/smart/modules
Teemu R 767156421b
Initialize autooff features only when data is available (#933)
For power strips, the autooff data needs to be requested from the
children.
Until we do that, we should not create these features to avoid crashing
during switch platform initialization.

This also ports the module to use `_initialize_features` and add tests.
2024-05-24 19:39:10 +02:00
..
__init__.py Add light presets common module to devices. (#907) 2024-05-19 11:20:18 +01:00
alarm.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
autooff.py Initialize autooff features only when data is available (#933) 2024-05-24 19:39:10 +02:00
batterysensor.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
brightness.py Make Light and Fan a common module interface (#911) 2024-05-13 17:34:44 +01:00
childdevice.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
cloud.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +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 Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
energy.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
fan.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
firmware.py Improve smartdevice update module (#791) 2024-05-09 01:43:07 +02:00
frostprotection.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
humiditysensor.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
led.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
light.py Fix set_state for common light modules (#929) 2024-05-22 15:33:55 +02:00
lighteffect.py Add post update hook to module and use in smart LightEffect (#921) 2024-05-19 10:18:17 +01:00
lightpreset.py Add light presets common module to devices. (#907) 2024-05-19 11:20:18 +01:00
lightstripeffect.py Deprecate device level light, effect and led attributes (#916) 2024-05-15 18:49:08 +01:00
lighttransition.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
reportmode.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
temperaturecontrol.py Improve categorization of features (#904) 2024-05-07 10:13:35 +01:00
temperaturesensor.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
time.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00
waterleaksensor.py Make module names consistent and remove redundant module casting (#909) 2024-05-11 19:28:18 +01:00