mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
Add vacuum module to Module
This commit is contained in:
parent
8ff6172c30
commit
ba4c2f2f95
@ -154,6 +154,9 @@ class Module(ABC):
|
|||||||
# SMARTCAM only modules
|
# SMARTCAM only modules
|
||||||
Camera: Final[ModuleName[smartcam.Camera]] = ModuleName("Camera")
|
Camera: Final[ModuleName[smartcam.Camera]] = ModuleName("Camera")
|
||||||
|
|
||||||
|
# Vacuum modules
|
||||||
|
Vacuum: Final[ModuleName[smart.Vacuum]] = ModuleName("Vacuum")
|
||||||
|
|
||||||
def __init__(self, device: Device, module: str) -> None:
|
def __init__(self, device: Device, module: str) -> None:
|
||||||
self._device = device
|
self._device = device
|
||||||
self._module = module
|
self._module = module
|
||||||
|
Loading…
Reference in New Issue
Block a user