hi good people, need some assistant with my home
the end result i wish to achieve - dim and bright only the lights that are already on within a group or area.
to do so, i created a group, with all the lights in my bedroom, and i created a template to call only the lights that are on:
|{{ expand('group.NAME_OFF_GROUP') | selectattr('state', 'eq', 'on') ||
|map(attribute='entity_id') | list }}|
when i check the “template”, it works fine, and spot just the bulbs that are on with no prob.
what would be the best implantation of this with a button in the dashboard?
can i use a mushrooms light card with a slider to just control the “on state” lights?
maybe a “costume button card” would be better (as i can tell it to repeat an action like “light.turn_on” at 5%" while being held)?
any ideas to tackle this would be great.
cheers