python-kasa/kasa
Steven B fe116eaefb
Handle module errors more robustly and add query params to light preset and transition (#1043)
Ensures that all modules try to access their data in `_post_update_hook` in a safe manner and disable themselves if there's an error.
Also adds parameters to get_preset_rules and get_on_off_gradually_info to fix issues with recent firmware updates.
Cherry pick of [#1036](https://github.com/python-kasa/python-kasa/pull/1036) to patch
2024-07-04 08:29:53 +01:00
..
interfaces Require explicit feature type (#1006) 2024-06-25 18:30:36 +02:00
iot Make parent attribute on device consistent across iot and smart (#1023) 2024-07-01 11:51:06 +01:00
smart Handle module errors more robustly and add query params to light preset and transition (#1043) 2024-07-04 08:29:53 +01:00
tests Handle module errors more robustly and add query params to light preset and transition (#1043) 2024-07-04 08:29:53 +01:00
__init__.py Make device initialisation easier by reducing required imports (#936) 2024-06-03 19:06:54 +01:00
aestransport.py Cache SmartErrorCode creation (#1022) 2024-06-30 10:49:59 +01:00
cli.py Cleanup cli output (#1000) 2024-06-23 07:09:13 +01: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 Make parent attribute on device consistent across iot and smart (#1023) 2024-07-01 11:51:06 +01:00
deviceconfig.py Make device initialisation easier by reducing required imports (#936) 2024-06-03 19:06:54 +01:00
discover.py Drop python3.8 support (#992) 2024-06-19 20:24:12 +02:00
emeterstatus.py Enable and convert to future annotations (#838) 2024-04-17 15:39:24 +02:00
exceptions.py Cache SmartErrorCode creation (#1022) 2024-06-30 10:49:59 +01:00
feature.py Update light transition module to work with child devices (#1017) 2024-06-27 18:52:54 +01:00
httpclient.py Configure mypy to run in virtual environment and fix resulting issues (#989) 2024-06-19 15:07:59 +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 Fix changing brightness when effect is active (#1019) 2024-07-01 13:59:24 +02:00
modulemapping.py Create common interfaces for remaining device types (#895) 2024-05-10 19:29:28 +01:00
modulemapping.pyi Create common interfaces for remaining device types (#895) 2024-05-10 19:29:28 +01: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 Handle module errors more robustly and add query params to light preset and transition (#1043) 2024-07-04 08:29:53 +01:00
xortransport.py Drop python3.8 support (#992) 2024-06-19 20:24:12 +02:00