mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
parent
e61864c0b5
commit
430b9cef43
@ -42,7 +42,7 @@ async def async_setup_entry(
|
||||
lights = []
|
||||
|
||||
for area_name, device in entry_data.lights:
|
||||
if device.type == "CEILING_FAN_TYPE2":
|
||||
if device.type == "CEILING_FAN_TYPE":
|
||||
# If this is a fan, check to see if this entity already exists.
|
||||
# If not, do not create a new one.
|
||||
entity_id = ent_reg.async_get_entity_id(
|
||||
|
Loading…
x
Reference in New Issue
Block a user