mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
6e5cae1f47
Adds `FeatureType.Action` making it possible to expose features like "reboot", "test alarm", "pair" etc. The `attribute_getter` is no longer mandatory, but it will raise an exception if not defined for other types than actions. Trying to read returns a static string `<Action>`. This overloads the `set_value` to call the given callable on any value. This also fixes the `play` and `stop` coroutines of the alarm module to await the call. |
||
---|---|---|
.. | ||
__init__.py | ||
alarmmodule.py | ||
autooffmodule.py | ||
battery.py | ||
brightness.py | ||
childdevicemodule.py | ||
cloudmodule.py | ||
colormodule.py | ||
colortemp.py | ||
devicemodule.py | ||
energymodule.py | ||
fanmodule.py | ||
firmware.py | ||
humidity.py | ||
ledmodule.py | ||
lighttransitionmodule.py | ||
reportmodule.py | ||
temperature.py | ||
temperaturecontrol.py | ||
timemodule.py |