Improvements to basement status on mobile dashboard

This commit is contained in:
2026-01-22 01:04:52 -05:00
parent d203051b4c
commit 8038c7eb7c

View File

@@ -4145,7 +4145,9 @@ views:
state_not: No Risk
- type: custom:mushroom-template-badge
content: |-
{% if is_state(entity,'on') %}
{% if is_state('input_boolean.recliner_mode','on') %}
Recliner Mode
{% elif is_state(entity,'on') %}
Do Not Enter
{% elif is_state('input_boolean.studio_quiet','on') %}
Studio Quiet
@@ -4154,21 +4156,35 @@ views:
{% endif %}
entity: input_boolean.do_not_enter_basement_studio
label: Basement Status
color: |-
{% if is_state(entity,'on') %}
color: >-
{% if is_state(entity,'on') or
is_state('input_boolean.recliner_mode','on') %}
var(--error-color)
{% elif is_state('input_boolean.studio_quiet','on') %}
var(--warning-color)
{% else %}
var(--success-color)
{% endif %}
icon: |-
{% if is_state(entity,'on') %}
icon: >-
{% if is_state(entity,'on') or
is_state('input_boolean.recliner_mode','on') %}
mdi:close-circle
{% elif is_state('input_boolean.studio_quiet','on') %}
mdi:alert
{% else %}
mdi:check-circle
{% endif %}
tap_action:
action: none