bottom line - I’m looking for a way to dim only the lights that are actually “on” within a group or an area.
using some ZigBee buttons, i manage to write an automation to dim the lights up or down as long as a button is being held. i can use that automation with a single light, a group or an area. that is awesome, no complaints. yet.
sometimes, i turn on just one light , and want to dim only it. however, if the automation is for that whole bedroom group - when i try to “dim up” to make that one light a bit stronger, the automation will turn “on” all the other lights within that group - not a big surprise, but not the outcome i am trying to achieve.
the solution im looking for is:
A way to filter the lights, probably with some templating, to control with the same automation and buttons only the lights within a group\area that are on.
i can duplicate the automation from a single entity, to all the other i want to control, with a condition to check each entity state, but that will make me end-up with way to much automations for that specific task.
im sure there is an easier way of doing that - i just cant figure it out for myself…
cheers