From e5e71ad7d2150130cbc0a1aa77765886b07f3d3a Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Sat, 30 Nov 2024 18:10:26 +0100 Subject: [PATCH] Add vacuum module to Module --- kasa/module.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kasa/module.py b/kasa/module.py index 2870b661..004c0e3f 100644 --- a/kasa/module.py +++ b/kasa/module.py @@ -161,6 +161,9 @@ class Module(ABC): Camera: Final[ModuleName[smartcam.Camera]] = ModuleName("Camera") LensMask: Final[ModuleName[smartcam.LensMask]] = ModuleName("LensMask") + # Vacuum modules + Vacuum: Final[ModuleName[smart.Vacuum]] = ModuleName("Vacuum") + def __init__(self, device: Device, module: str) -> None: self._device = device self._module = module