python-kasa/kasa/iot
Steven B. fa0f7157c6
Deprecate legacy light module is_capability checks (#1297)
Deprecate the `is_color`, `is_dimmable`, `is_variable_color_temp`, `valid_temperate_range`,
and `has_effects` attributes from the `Light` module, as consumers should use
`has_feature("hsv")`, `has_feature("brightness")`, `has_feature("color_temp")`,
`get_feature("color_temp").range`, and `Module.LightEffect in dev.modules` respectively.

Calling the deprecated attributes will emit a `DeprecationWarning`
and type checkers will fail them.
2025-01-22 10:26:37 +00:00
..
modules Deprecate legacy light module is_capability checks (#1297) 2025-01-22 10:26:37 +00:00
__init__.py Add LinkieTransportV2 and basic IOT.IPCAMERA support (#1270) 2024-12-07 00:06:58 +01:00
effects.py Create common interfaces for remaining device types (#895) 2024-05-10 19:29:28 +01:00
iotbulb.py Migrate TurnOnBehaviours to mashumaro (#1285) 2024-11-20 15:35:51 +01:00
iotcamera.py Add LinkieTransportV2 and basic IOT.IPCAMERA support (#1270) 2024-12-07 00:06:58 +01:00
iotdevice.py Use DeviceInfo consistently across devices (#1338) 2024-12-13 12:37:13 +00:00
iotdimmer.py Exclude __getattr__ for deprecated attributes from type checkers (#1294) 2024-11-21 18:40:13 +00:00
iotlightstrip.py Move protocol modules into protocols package (#1254) 2024-11-13 17:50:21 +00:00
iotmodule.py Exclude __getattr__ for deprecated attributes from type checkers (#1294) 2024-11-21 18:40:13 +00:00
iotplug.py Move protocol modules into protocols package (#1254) 2024-11-13 17:50:21 +00:00
iotstrip.py Exclude __getattr__ for deprecated attributes from type checkers (#1294) 2024-11-21 18:40:13 +00:00
iottimezone.py Remove support for python <3.11 (#1273) 2024-11-18 18:46:36 +00:00