python-kasa/kasa/smart
Steven B. cd0a74ca96
Improve supported module checks for hub children (#1188)
No devices in `fixtures/smart/child` support the `get_device_time` or
`get_device_usage` methods so this PR tests for whether the device is a
hub child and marks those modules/methods as not supported. This
prevents features being erroneously created on child devices.

It also moves the logic for getting the time from the parent module
behind getting it from the child module which was masking the creation
of these unsupported modules.
2024-10-23 17:17:27 +02:00
..
modules Improve supported module checks for hub children (#1188) 2024-10-23 17:17:27 +02:00
__init__.py Move SmartBulb into SmartDevice (#874) 2024-04-29 18:19:44 +01:00
effects.py Fix changing brightness when effect is active (#1019) 2024-07-01 13:59:24 +02:00
smartchilddevice.py Add motion sensor to known categories (#1176) 2024-10-18 12:31:52 +02:00
smartdevice.py Improve supported module checks for hub children (#1188) 2024-10-23 17:17:27 +02:00
smartmodule.py Make iot time timezone aware (#1147) 2024-10-08 08:16:51 +01:00