mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
11719991c0
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.
10 lines
251 B
Python
10 lines
251 B
Python
"""Implementation for child devices."""
|
|
from ..smartmodule import SmartModule
|
|
|
|
|
|
class ChildDeviceModule(SmartModule):
|
|
"""Implementation for child devices."""
|
|
|
|
REQUIRED_COMPONENT = "child_device"
|
|
QUERY_GETTER_NAME = "get_child_device_list"
|