From 9c599f751397859bfa6049478b0c0cedcd3411b4 Mon Sep 17 00:00:00 2001 From: wilburCforce <109390391+wilburCforce@users.noreply.github.com> Date: Fri, 2 Feb 2024 14:42:53 -0600 Subject: [PATCH] Fix device type in Lutron (#109401) remove testing code --- homeassistant/components/lutron/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/lutron/light.py b/homeassistant/components/lutron/light.py index d728cfac890..0bd00177cc1 100644 --- a/homeassistant/components/lutron/light.py +++ b/homeassistant/components/lutron/light.py @@ -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(