From 131af1fece3ac0e6ef5b6bf7ca8716d73b5ba073 Mon Sep 17 00:00:00 2001 From: Sebastian Muszynski Date: Mon, 6 Nov 2017 09:20:31 +0100 Subject: [PATCH] Device model identification of the Xiaomi Philips Ceiling Lamp fixed. (#10401) --- 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 d7d0900ed28..df716bcf1e9 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)