Got one set of lights working but not the other and I can’t figure out why.
I have two different sets of lights in my kitchen, both sets have paddle switches. I also have two different sets of lights in my bedroom, and both of these switches only have one button to toggle on and off. All of these switches are dimmable.
The kitchen lights with the paddle switches work flawlessly, but the automation for the single button toggle switches in the bedroom only work from the Home Assistant UI - not from the switches on the walls. Why would these need a different different coding?
Why would the kitchen lights automation work great while the bedroom automation only works from the developer UI? The switches may be different, but the operation is virtually the same.
Can you please provide information what kind of lights and switches are light.master_bedroom_lights and light.master_hall_light and how they are integrated in HA.
Right now i can only think of a problem with the attribute “brightness”, so maybe it’s not set when the action triggers e.g.
Check if:
the state of light.master_bedroom_lights and light.master_hall_lightchanges in HA when you press the physical button
the attribute “brightness” is set correctly in light.master_bedroom_lights and light.master_hall_light when you press the physical button
Thanks, Florian. I checked HA’s response to the physical buttons and HA adjusts to state and brightness correctly. I’m actually wondering if it’s related to configuration where I grouped the lights together.
This is my main config file:
################################################################################
# #
# GROUPED ENTITIES #
# #
################################################################################
light:
- platform: group
name: Group Kitchen Lights
entities:
- light.kitchen_fridge
- light.kitchen_sink
- platform: group
name: Group Master Bedroom Lights
entities:
- light.master_bedroom_lights
- light.master_hall_light
group:
group_front_lights:
name: Group Front Lights
entities:
- switch.front_light
- switch.front_porch_light
group_patio_lights:
name: Group Patio Lights
entities:
- switch.master_patio_light
- switch.patio_lights
As for the switches, the bedroom switches are both Kasa Dimmers, and the kitchen switches are both GE Dimmers. And now that I think about it, the reason they’re different kinds because the kitchen doesn’t have neutral wires, which the GE switches accommodate.