basnijholt / adaptive-lighting

Adaptive Lighting custom component for Home Assistant
https://basnijholt.github.io/adaptive-lighting/
Apache License 2.0
1.7k stars 127 forks source link

Light entities created by `Change device type of a switch` are not in the list of light entities to pick from #1006

Closed danielbrunt57 closed 1 month ago

danielbrunt57 commented 1 month ago

Salt Lamp is not in list...

image

image

This had been previously configured as entity light.himalayen_salt_lamp but the matter integration decided to change things and the entity (which was switch as a light) went AWOL. I reconfigured the switch to display as light (light.levds_plug_d_80f3) and updated the friendly name for the new light entity to Salt Lamp. When trying to reconfigure the AL integration, it would not see the new light entity even after reloading the integration. Even after restarting HA it still does not see light.salt_lamp.

image

image

image

image

danielbrunt57 commented 1 month ago

I changed line 103 in config_flow.py to if not _supported_features(self.hass, light) and I now see all of my light entities that were created by Change device type of a switch...

image

danielbrunt57 commented 1 month ago

Nevermind, I'm a dummy! My Salt Lamp is plugged into a Leviton D23LP Smart Dimmer Plug which was working fine in AL as a Wi-Fi device which supported dimming. The problem began when I migrated it to Matter and I now see that the Matter device does NOT support dimming!