Hi!
I have an entities card with conditions to show alarm sensor and script only if an alarm are active.
type: entities
entities:
- entity: sensor.nibe_compressor_state_ep14_text
- type: conditional
conditions:
- entity: sensor.nibe_alarm
state_not: '0'
row:
entity: sensor.nibe_alarm_text
name: Larm
icon: mdi:alarm-light
- type: conditional
conditions:
- entity: sensor.nibe_alarm
state_not: '0'
row:
entity: script.nibe_alarm_reset
name: Reset Alarm
show_header_toggle: false
title: Nibe
footer:
type: buttons
entities:
- entity: script.nibe_alarm_reset
name: Reset Alarm
In the footer I have a button (without any condition). Is it possible to add a condition to the button in the footer instead of having the row with “RUN”?
I have searched and tried to apply the condition with no success.