Add mop module (#1456)

Adds the following new features: a setting to control water level and a sensor if the mop is attached:
```
Mop water level (mop_waterlevel): *Disable* Low Medium High
Mop attached (mop_attached): True
```
This commit is contained in:
Teemu R.
2025-01-15 19:12:33 +01:00
committed by GitHub
parent bc97c0794a
commit 17356c10f1
4 changed files with 151 additions and 0 deletions

View File

@@ -165,6 +165,7 @@ class Module(ABC):
Clean: Final[ModuleName[smart.Clean]] = ModuleName("Clean")
Dustbin: Final[ModuleName[smart.Dustbin]] = ModuleName("Dustbin")
Speaker: Final[ModuleName[smart.Speaker]] = ModuleName("Speaker")
Mop: Final[ModuleName[smart.Mop]] = ModuleName("Mop")
def __init__(self, device: Device, module: str) -> None:
self._device = device