mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
d63f43a230
Allow controlling the color temperature via features interface: ``` $ kasa --host 192.168.xx.xx feature color_temperature Color temperature (color_temperature): 0 $ kasa --host 192.168.xx.xx feature color_temperature 2000 Setting color_temperature to 2000 Raised error: Temperature should be between 2500 and 6500, was 2000 Run with --debug enabled to see stacktrace $ kasa --host 192.168.xx.xx feature color_temperature 3000 Setting color_temperature to 3000 $ kasa --host 192.168.xx.xx feature color_temperature Color temperature (color_temperature): 3000 ```
37 lines
1021 B
Python
37 lines
1021 B
Python
"""Modules for SMART devices."""
|
|
from .alarmmodule import AlarmModule
|
|
from .autooffmodule import AutoOffModule
|
|
from .battery import BatterySensor
|
|
from .brightness import Brightness
|
|
from .childdevicemodule import ChildDeviceModule
|
|
from .cloudmodule import CloudModule
|
|
from .colortemp import ColorTemperatureModule
|
|
from .devicemodule import DeviceModule
|
|
from .energymodule import EnergyModule
|
|
from .firmware import Firmware
|
|
from .humidity import HumiditySensor
|
|
from .ledmodule import LedModule
|
|
from .lighttransitionmodule import LightTransitionModule
|
|
from .reportmodule import ReportModule
|
|
from .temperature import TemperatureSensor
|
|
from .timemodule import TimeModule
|
|
|
|
__all__ = [
|
|
"AlarmModule",
|
|
"TimeModule",
|
|
"EnergyModule",
|
|
"DeviceModule",
|
|
"ChildDeviceModule",
|
|
"BatterySensor",
|
|
"HumiditySensor",
|
|
"TemperatureSensor",
|
|
"ReportModule",
|
|
"AutoOffModule",
|
|
"LedModule",
|
|
"Brightness",
|
|
"Firmware",
|
|
"CloudModule",
|
|
"LightTransitionModule",
|
|
"ColorTemperatureModule",
|
|
]
|