mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Device model identification of the Xiaomi Philips Ceiling Lamp fixed. (#10401)
This commit is contained in:
parent
a9a3e24bde
commit
131af1fece
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user