mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-26 22:57:04 +00:00
fa0f7157c6
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. |
||
---|---|---|
.. | ||
__init__.py | ||
ambientlight.py | ||
antitheft.py | ||
cloud.py | ||
countdown.py | ||
emeter.py | ||
led.py | ||
light.py | ||
lighteffect.py | ||
lightpreset.py | ||
motion.py | ||
rulemodule.py | ||
schedule.py | ||
time.py | ||
usage.py |