From 41925f4e9f8133aeed580f34f8e84321532cf604 Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Sun, 25 Feb 2018 15:06:11 +0100 Subject: [PATCH 1/2] mDNS discovery: Additional philips light (philips-light-zyceiling) added. --- miio/discovery.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/miio/discovery.py b/miio/discovery.py index 7663fbdf3..fa8c4b65f 100644 --- a/miio/discovery.py +++ b/miio/discovery.py @@ -36,10 +36,11 @@ "zhimi-humidifier-v1": AirHumidifier, "zhimi-humidifier-ca1": AirHumidifier, "yunmi-waterpuri-v2": WaterPurifier, - # It looks like philips devices cannot be discovered via mdns + # It looks like the philips bulb cannot be discovered via mdns "philips-light-bulb": PhilipsBulb, "philips-light-ceiling": Ceil, - "philips-light-sread1": PhilipsEyecare, + "philips-light-zyceiling": Ceil, + "philips-light-sread1": PhilipsEyecare, # name needs to be checked "xiaomi-wifispeaker-v1": WifiSpeaker, # name needs to be checked "yeelink-light-": Yeelight, "lumi-gateway-": lambda x: other_package_info( From 9853a8ef0ac1ae7abfe85d3f3a286730361b053d Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Sun, 25 Feb 2018 15:08:25 +0100 Subject: [PATCH 2/2] Missing space added. --- miio/discovery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miio/discovery.py b/miio/discovery.py index fa8c4b65f..35a889597 100644 --- a/miio/discovery.py +++ b/miio/discovery.py @@ -40,7 +40,7 @@ "philips-light-bulb": PhilipsBulb, "philips-light-ceiling": Ceil, "philips-light-zyceiling": Ceil, - "philips-light-sread1": PhilipsEyecare, # name needs to be checked + "philips-light-sread1": PhilipsEyecare, # name needs to be checked "xiaomi-wifispeaker-v1": WifiSpeaker, # name needs to be checked "yeelink-light-": Yeelight, "lumi-gateway-": lambda x: other_package_info(