diff --git a/miio/airhumidifier.py b/miio/airhumidifier.py index b236b4d8b..031d30c04 100644 --- a/miio/airhumidifier.py +++ b/miio/airhumidifier.py @@ -390,3 +390,10 @@ def set_dry(self, dry: bool): return self.send("set_dry", ["on"]) else: return self.send("set_dry", ["off"]) + + +class AirHumidifierCA1(AirHumidifier): + def __init__(self, ip: str = None, token: str = None, start_id: int = 0, + debug: int = 0, lazy_discover: bool = True) -> None: + super().__init__(ip, token, start_id, debug, lazy_discover, + model=MODEL_HUMIDIFIER_CA1)