On my dashboard I want to show all the lights that are on so it’s easy to turn them off but I don’t want a static element there all the time. I’ve got it to work with a entity-filter card but it’s very manual and any time I add new lights I would need to edit this. I’m wondering if there is a way to use labels or something similar so I can configure it the entity-filter to be when any entity in that label is ‘on’
Here is what I have currently
title: Lights on
entities:
- entity: light.front_door_panel_center
type: custom:mushroom-light-card
layout: vertical
name: Chandelier
- entity: light.front_door_panel_top
type: custom:mushroom-light-card
layout: vertical
name: Front Door
- entity: light.front_door_panel_bottom
type: custom:mushroom-light-card
layout: vertical
name: Hallway
- entity: light.garage_light
type: custom:mushroom-light-card
layout: vertical
name: Garage
- entity: light.laundry_light_panel_bottom
type: custom:mushroom-light-card
layout: vertical
name: Kitchen
- entity: light.laundry_light_panel_top
type: custom:mushroom-light-card
layout: vertical
name: Laundry
- entity: light.office_lights
type: custom:mushroom-light-card
layout: vertical
name: Office
- entity: light.patio_lights
type: custom:mushroom-light-card
layout: vertical
name: Patio
conditions:
- condition: state
state: 'on'
show_empty: false
type or paste code here