mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Initial implementation for modularized smartdevice (#757)
The initial steps to modularize the smartdevice. Modules are initialized based on the component negotiation, and each module can indicate which features it supports and which queries should be run during the update cycle.
This commit is contained in:
7
kasa/smart/modules/__init__.py
Normal file
7
kasa/smart/modules/__init__.py
Normal file
@@ -0,0 +1,7 @@
|
||||
"""Modules for SMART devices."""
|
||||
from .childdevicemodule import ChildDeviceModule
|
||||
from .devicemodule import DeviceModule
|
||||
from .energymodule import EnergyModule
|
||||
from .timemodule import TimeModule
|
||||
|
||||
__all__ = ["TimeModule", "EnergyModule", "DeviceModule", "ChildDeviceModule"]
|
Reference in New Issue
Block a user