mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
f259a8f162
Address the inconsistent naming of smart modules by removing all "Module" suffixes and aligning filenames with class names. Removes the casting of modules to the correct module type now that is is redundant. Update the adding of iot modules to use the ModuleName class rather than a free string.
52 lines
1.3 KiB
Python
52 lines
1.3 KiB
Python
"""Modules for SMART devices."""
|
|
|
|
from .alarm import Alarm
|
|
from .autooff import AutoOff
|
|
from .batterysensor import BatterySensor
|
|
from .brightness import Brightness
|
|
from .childdevice import ChildDevice
|
|
from .cloud import Cloud
|
|
from .color import Color
|
|
from .colortemperature import ColorTemperature
|
|
from .contactsensor import ContactSensor
|
|
from .devicemodule import DeviceModule
|
|
from .energy import Energy
|
|
from .fan import Fan
|
|
from .firmware import Firmware
|
|
from .frostprotection import FrostProtection
|
|
from .humiditysensor import HumiditySensor
|
|
from .led import Led
|
|
from .lighteffect import LightEffect
|
|
from .lighttransition import LightTransition
|
|
from .reportmode import ReportMode
|
|
from .temperaturecontrol import TemperatureControl
|
|
from .temperaturesensor import TemperatureSensor
|
|
from .time import Time
|
|
from .waterleaksensor import WaterleakSensor
|
|
|
|
__all__ = [
|
|
"Alarm",
|
|
"Time",
|
|
"Energy",
|
|
"DeviceModule",
|
|
"ChildDevice",
|
|
"BatterySensor",
|
|
"HumiditySensor",
|
|
"TemperatureSensor",
|
|
"TemperatureControl",
|
|
"ReportMode",
|
|
"AutoOff",
|
|
"Led",
|
|
"Brightness",
|
|
"Fan",
|
|
"Firmware",
|
|
"Cloud",
|
|
"LightEffect",
|
|
"LightTransition",
|
|
"ColorTemperature",
|
|
"Color",
|
|
"WaterleakSensor",
|
|
"ContactSensor",
|
|
"FrostProtection",
|
|
]
|