From ce972149c63717b05c95b78275466c2aff4e1045 Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Mon, 6 Nov 2017 08:53:13 +0100 Subject: [PATCH] Device model identification of the Xiaomi Philips Ceiling Lamp fixed. --- homeassistant/components/light/xiaomi_miio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/light/xiaomi_miio.py b/homeassistant/components/light/xiaomi_miio.py index d7d0900ed28d7..df716bcf1e964 100644 --- a/homeassistant/components/light/xiaomi_miio.py +++ b/homeassistant/components/light/xiaomi_miio.py @@ -64,7 +64,7 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None): light = PhilipsEyecare(host, token) device = XiaomiPhilipsEyecareLamp(name, light, device_info) devices.append(device) - elif device_info.model == 'philips.light.ceil': + elif device_info.model == 'philips.light.ceiling': from miio import Ceil light = Ceil(host, token) device = XiaomiPhilipsCeilingLamp(name, light, device_info)