parent
f3e8360949
commit
9c599f7513
|
@ -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…
Reference in New Issue