Add "check light switches" badge

home_automation/Home-Assistant-Configs#235
This commit is contained in:
2025-04-13 01:28:16 -04:00
parent 4020103475
commit 38b5178aea

View File

@ -3849,6 +3849,15 @@ views:
- condition: state - condition: state
entity: binary_sensor.windows entity: binary_sensor.windows
state: 'on' state: 'on'
- type: custom:mushroom-template-badge
content: Check light switches
icon: mdi:light-switch
color: red
label: Light Issue
visibility:
- condition: state
entity: binary_sensor.light_switch_issue
state: 'on'
- type: custom:mushroom-template-badge - type: custom:mushroom-template-badge
content: |- content: |-
{% if is_state(entity,'on') %} {% if is_state(entity,'on') %}