Device model identification of the Xiaomi Philips Ceiling Lamp fixed. (#10401)

This commit is contained in:
Sebastian Muszynski 2017-11-06 09:20:31 +01:00 committed by Teemu R
parent a9a3e24bde
commit 131af1fece

View File

@ -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)