mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-26 06:37:05 +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. |
||
---|---|---|
.. | ||
modules | ||
__init__.py | ||
effects.py | ||
iotbulb.py | ||
iotcamera.py | ||
iotdevice.py | ||
iotdimmer.py | ||
iotlightstrip.py | ||
iotmodule.py | ||
iotplug.py | ||
iotstrip.py | ||
iottimezone.py |