Fix device type in Lutron (#109401)

remove testing code
This commit is contained in:
wilburCforce 2024-02-02 14:42:53 -06:00 committed by GitHub
parent e61864c0b5
commit 430b9cef43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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