python-kasa/kasa/iot/modules
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
..
__init__.py Add light presets common module to devices. (#907) 2024-05-19 11:20:18 +01:00
ambientlight.py Enable ruff check for ANN (#1139) 2024-11-10 18:55:13 +00:00
antitheft.py Update poetry locks and pre-commit hooks (#837) 2024-04-16 20:21:20 +02:00
cloud.py Migrate iot cloud module to mashumaro (#1282) 2024-11-20 14:34:26 +01:00
countdown.py Update poetry locks and pre-commit hooks (#837) 2024-04-16 20:21:20 +02:00
emeter.py Enable ruff check for ANN (#1139) 2024-11-10 18:55:13 +00:00
led.py Enable ruff check for ANN (#1139) 2024-11-10 18:55:13 +00:00
light.py Deprecate legacy light module is_capability checks (#1297) 2025-01-22 10:26:37 +00:00
lighteffect.py Enable ruff check for ANN (#1139) 2024-11-10 18:55:13 +00:00
lightpreset.py Update cli, light modules, and docs to use FeatureAttributes (#1364) 2024-12-11 15:53:35 +00:00
motion.py Enable ruff check for ANN (#1139) 2024-11-10 18:55:13 +00:00
rulemodule.py Migrate RuleModule to mashumaro (#1283) 2024-11-20 14:59:32 +00:00
schedule.py Update poetry locks and pre-commit hooks (#837) 2024-04-16 20:21:20 +02:00
time.py Remove support for python <3.11 (#1273) 2024-11-18 18:46:36 +00:00
usage.py Enable ruff check for ANN (#1139) 2024-11-10 18:55:13 +00:00