mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
273c541fcc
Adds light preset common module for switching to presets and saving presets. Deprecates the `presets` attribute and `save_preset` method from the `bulb` interface in favour of the modular approach. Allows setting preset for `iot` which was not previously supported.
36 lines
751 B
Python
36 lines
751 B
Python
"""Module for individual feature modules."""
|
|
|
|
from .ambientlight import AmbientLight
|
|
from .antitheft import Antitheft
|
|
from .cloud import Cloud
|
|
from .countdown import Countdown
|
|
from .emeter import Emeter
|
|
from .led import Led
|
|
from .light import Light
|
|
from .lighteffect import LightEffect
|
|
from .lightpreset import IotLightPreset, LightPreset
|
|
from .motion import Motion
|
|
from .rulemodule import Rule, RuleModule
|
|
from .schedule import Schedule
|
|
from .time import Time
|
|
from .usage import Usage
|
|
|
|
__all__ = [
|
|
"AmbientLight",
|
|
"Antitheft",
|
|
"Cloud",
|
|
"Countdown",
|
|
"Emeter",
|
|
"Led",
|
|
"Light",
|
|
"LightEffect",
|
|
"LightPreset",
|
|
"IotLightPreset",
|
|
"Motion",
|
|
"Rule",
|
|
"RuleModule",
|
|
"Schedule",
|
|
"Time",
|
|
"Usage",
|
|
]
|