Skip to content

Commit

Permalink
mDNS names of the Air Conditioning Companion (AC partner) added (Closes
Browse files Browse the repository at this point in the history
…: #312) (#313)
  • Loading branch information
syssi authored May 8, 2018
1 parent e8b6489 commit 8402a2f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion miio/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, )
Expand Down Expand Up @@ -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),
Expand Down

0 comments on commit 8402a2f

Please sign in to comment.