Hi All,
I have a group of smoke detectors setup, is there anyway to setup conditional cards to only show the device that is activated within the group on Mushroom chips card.
Currently I have it setup as a conditional card for each smoke detector but I’d like to streamline this just use the group. (binary_sensors.smoke_detectors)?
type: custom:mushroom-chips-card
chips:
- type: conditional
conditions:
- entity: binary_sensor.garage_smoke_detector
state: Detected
chip:
type: entity
entity: binary_sensor.garage_smoke_detector
icon: mdi:fire
icon_color: red
name: Garage Fire!
content_info: name
- type: conditional
conditions:
- entity: binary_sensor.pantry_smoke_detector
state: Detected
chip:
type: entity
entity: binary_sensor.pantry_smoke_detector
icon: mdi:fire
icon_color: red
name: Pantry Fire!
content_info: name
- type: conditional
conditions:
- entity: binary_sensor.lounge_smoke_detector
state: Detected
chip:
type: entity
entity: binary_sensor.lounge_smoke_detector
icon: mdi:fire
icon_color: red
name: Lounge Fire!
content_info: name