From 3e9c9dc3c1669d171f6538a5ed4f7026d73f8040 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 6 Mar 2025 03:10:14 -0500 Subject: [PATCH] Additional visibility conditions on med badges --- mobile_dashboard.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/mobile_dashboard.yaml b/mobile_dashboard.yaml index 1872a07..f2a7512 100644 --- a/mobile_dashboard.yaml +++ b/mobile_dashboard.yaml @@ -3752,6 +3752,9 @@ views: - condition: state entity: input_boolean.tony_morning_meds_taken state: 'on' + - condition: state + entity: input_boolean.tony_awake + state: 'on' - type: custom:mushroom-template-badge content: |- {% from 'time.jinja' import input_datetime_read %} @@ -3774,6 +3777,9 @@ views: - condition: state entity: input_boolean.tony_afternoon_meds_taken state: 'on' + - condition: state + entity: input_boolean.tony_awake + state: 'on' - type: custom:mushroom-template-badge content: |- {% from 'time.jinja' import input_datetime_read %} @@ -3863,6 +3869,9 @@ views: - condition: state entity: input_boolean.kallen_morning_meds_taken state: 'on' + - condition: state + entity: input_boolean.kallen_sleeping + state: 'off' - type: custom:mushroom-template-badge content: |- {% from 'time.jinja' import input_datetime_read %} @@ -3886,6 +3895,9 @@ views: - condition: state entity: input_boolean.kallen_night_meds_taken state: 'on' + - condition: state + entity: input_boolean.kallen_sleeping + state: 'on' - type: custom:mushroom-template-badge content: |- {% from 'time.jinja' import input_datetime_read %}