From 4839b5147ab4e426d63a02b59a82bfee39eec252 Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Mon, 4 Sep 2017 00:13:51 +0200 Subject: [PATCH] mDNS name of the Chuangmi Infrared Controller added. (#53) --- mirobo/discovery.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mirobo/discovery.py b/mirobo/discovery.py index 3529cabbe..f2698a944 100644 --- a/mirobo/discovery.py +++ b/mirobo/discovery.py @@ -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__) @@ -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