python-kasa/kasa/smart
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 Move SmartBulb into SmartDevice (#874) 2024-04-29 18:19:44 +01:00
effects.py Enable ruff check for ANN (#1139) 2024-11-10 18:55:13 +00:00
smartchilddevice.py Enable dynamic hub child creation and deletion on update (#1454) 2025-01-15 19:10:32 +00:00
smartdevice.py Add support for cleaning records (#945) 2025-01-20 11:41:56 +00:00
smartmodule.py Update hub children on first update and delay subsequent updates (#1438) 2025-01-13 17:19:40 +00:00