python-kasa/kasa/smart/modules
Teemu R 5ef81f4669
Improve feature setter robustness (#870)
This adds a test to check that all feature.set_value() calls will cause
a query, i.e., that there are no self.call()s that are not awaited, and
fixes existing code in this context.

This also fixes an issue where it was not possible to print out the
feature if the value threw an exception.
2024-05-02 15:32:06 +02:00
..
__init__.py Improve temperature controls (#872) 2024-05-02 13:05:26 +00:00
alarmmodule.py Implement choice feature type (#880) 2024-04-30 07:56:09 +01:00
autooffmodule.py Improve feature setter robustness (#870) 2024-05-02 15:32:06 +02:00
battery.py Embed FeatureType inside Feature (#860) 2024-04-24 18:38:52 +02:00
brightness.py Support for new ks240 fan/light wall switch (#839) 2024-04-24 20:17:49 +02:00
childdevicemodule.py Revise device initialization and subsequent updates (#807) 2024-03-15 17:18:13 +01:00
cloudmodule.py Embed FeatureType inside Feature (#860) 2024-04-24 18:38:52 +02:00
colormodule.py Embed FeatureType inside Feature (#860) 2024-04-24 18:38:52 +02:00
colortemp.py Improve feature setter robustness (#870) 2024-05-02 15:32:06 +02:00
devicemodule.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
energymodule.py Add precision_hint to feature (#871) 2024-04-29 13:31:42 +02:00
fanmodule.py Add Fan interface for SMART devices (#873) 2024-04-30 17:42:53 +01:00
firmware.py Use pydantic.v1 namespace on all pydantic versions (#883) 2024-05-01 15:59:35 +02:00
frostprotection.py Improve temperature controls (#872) 2024-05-02 13:05:26 +00:00
humidity.py Improve temperature controls (#872) 2024-05-02 13:05:26 +00:00
ledmodule.py Embed FeatureType inside Feature (#860) 2024-04-24 18:38:52 +02:00
lighttransitionmodule.py Improve feature setter robustness (#870) 2024-05-02 15:32:06 +02:00
reportmodule.py Implement feature categories (#846) 2024-04-23 19:20:12 +02:00
temperature.py Improve feature setter robustness (#870) 2024-05-02 15:32:06 +02:00
temperaturecontrol.py Improve temperature controls (#872) 2024-05-02 13:05:26 +00:00
timemodule.py Implement feature categories (#846) 2024-04-23 19:20:12 +02:00
waterleak.py Add support for waterleak sensor (T300) (#876) 2024-04-30 17:31:47 +02:00