From 910286ba55a67ea76d1cd3e2d802267e1a35a795 Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Tue, 8 May 2018 21:08:01 +0200 Subject: [PATCH] mDNS names of the Air Conditioning Companion (AC partner) added (Closes: #312) --- miio/discovery.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/miio/discovery.py b/miio/discovery.py index 583b9ce05..9cc438d9d 100644 --- a/miio/discovery.py +++ b/miio/discovery.py @@ -9,7 +9,8 @@ from . import (Device, Vacuum, ChuangmiPlug, PowerStrip, AirPurifier, Ceil, PhilipsBulb, PhilipsEyecare, ChuangmiIr, AirHumidifier, - WaterPurifier, WifiSpeaker, WifiRepeater, Yeelight, Fan, Cooker, ) + WaterPurifier, WifiSpeaker, WifiRepeater, Yeelight, Fan, Cooker, + AirConditioningCompanion) from .chuangmi_plug import (MODEL_CHUANGMI_PLUG_V1, MODEL_CHUANGMI_PLUG_V3, MODEL_CHUANGMI_PLUG_M1, ) @@ -60,6 +61,9 @@ "chunmi.cooker.normal3": Cooker, "chunmi.cooker.normal4": Cooker, "chunmi.cooker.normal5": Cooker, + "lumi-acpartner-v1": AirConditioningCompanion, + "lumi-acpartner-v2": AirConditioningCompanion, + "lumi-acpartner-v3": AirConditioningCompanion, "yeelink-light-": Yeelight, "zhimi-fan-v2": partial(Fan, model=MODEL_FAN_V2), "zhimi-fan-v3": partial(Fan, model=MODEL_FAN_V3),