Skip to content

Commit

Permalink
mDNS name of the Chuangmi Infrared Controller added. (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored and rytilahti committed Sep 3, 2017
1 parent 89f4a6c commit 4839b51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mirobo/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import inspect
import codecs
from mirobo import (Device, Vacuum, Plug, PlugV1, Strip, AirPurifier, Ceil,
PhilipsEyecare)
PhilipsEyecare, ChuangmiIr)
from typing import Union, Callable, Dict

_LOGGER = logging.getLogger(__name__)
Expand Down Expand Up @@ -60,6 +60,7 @@ class Discovery:
"zhimi-airpurifier-v2": AirPurifier,
"zhimi-airpurifier-v3": AirPurifier,
"zhimi-airpurifier-v6": AirPurifier,
"chuangmi-ir-v2": ChuangmiIr,
# "zhimi-humidifier-v1": Humidifier,
# "yunmi-waterpuri-v2": WaterPurifier,
# It looks like philips devices cannot be discovered via mdns
Expand Down

0 comments on commit 4839b51

Please sign in to comment.