python-kasa/kasa
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
..
iot Improve feature setter robustness (#870) 2024-05-02 15:32:06 +02:00
smart Improve feature setter robustness (#870) 2024-05-02 15:32:06 +02:00
tests Improve feature setter robustness (#870) 2024-05-02 15:32:06 +02:00
__init__.py Move SmartBulb into SmartDevice (#874) 2024-04-29 18:19:44 +01:00
aestransport.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
bulb.py Update interfaces so they all inherit from Device (#893) 2024-05-02 13:55:08 +01:00
cli.py Use pydantic.v1 namespace on all pydantic versions (#883) 2024-05-01 15:59:35 +02:00
credentials.py Cleanup credentials handling (#605) 2024-01-03 19:26:52 +01:00
device_factory.py Move SmartBulb into SmartDevice (#874) 2024-04-29 18:19:44 +01:00
device_type.py Add temperature control module for smart (#848) 2024-04-22 12:39:07 +01:00
device.py Update interfaces so they all inherit from Device (#893) 2024-05-02 13:55:08 +01:00
deviceconfig.py Add support for KH100 hub (#847) 2024-04-22 16:24:15 +02:00
discover.py Use pydantic.v1 namespace on all pydantic versions (#883) 2024-05-01 15:59:35 +02:00
effects.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
emeterstatus.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
exceptions.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
fan.py Update interfaces so they all inherit from Device (#893) 2024-05-02 13:55:08 +01:00
feature.py Improve feature setter robustness (#870) 2024-05-02 15:32:06 +02:00
httpclient.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
iotprotocol.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
json.py Generate AES KeyPair lazily (#687) 2024-01-23 15:29:27 +00:00
klaptransport.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
module.py Implement choice feature type (#880) 2024-04-30 07:56:09 +01:00
plug.py Update poetry locks and pre-commit hooks (#837) 2024-04-16 20:21:20 +02:00
protocol.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
py.typed Add py.typed to flag that the package is typed (#251) 2021-11-15 18:21:24 +01:00
smartprotocol.py Fix smartprotocol response list handler to handle null reponses (#884) 2024-04-29 14:24:30 +01:00
xortransport.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00