From 2e7c27963965a6915b767c7c801c0ff5e1242abb Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Fri, 21 Feb 2025 22:20:28 -0500 Subject: [PATCH] Copy ibuprofen and tylenol trackers for Tina --- admin_dashboard.yaml | 33 +++++++++++++++++++++++++++++++++ mobile_dashboard.yaml | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/admin_dashboard.yaml b/admin_dashboard.yaml index b296453..1e4f3f2 100644 --- a/admin_dashboard.yaml +++ b/admin_dashboard.yaml @@ -1145,6 +1145,28 @@ views: cards: - type: heading heading: Tina + - type: entities + state_color: true + show_header_toggle: false + entities: + - entity: input_boolean.tina_ibuprofen_taken + - entity: input_datetime.tina_ibuprofen_taken + - entity: input_datetime.tina_ibuprofen_notify + visibility: + - condition: state + entity: input_boolean.tina_ibuprofen_active + state: 'on' + - type: entities + state_color: true + show_header_toggle: false + entities: + - entity: input_boolean.tina_tylenol_taken + - entity: input_datetime.tina_tylenol_taken + - entity: input_datetime.tina_tylenol_notify + visibility: + - condition: state + entity: input_boolean.tina_tylenol_active + state: 'on' - type: entities entities: - entity: input_boolean.tina_morning_meds_taken @@ -1173,6 +1195,17 @@ views: name: Night Reminders show_header_toggle: false state_color: true + - type: entities + entities: + - type: custom:fold-entity-row + head: + type: section + label: Settings + entities: + - entity: input_boolean.tina_ibuprofen_active + name: Ibuprofen Active + - entity: input_boolean.tina_tylenol_active + name: Tylenol Active - type: grid cards: - type: heading diff --git a/mobile_dashboard.yaml b/mobile_dashboard.yaml index be56c59..4a32109 100644 --- a/mobile_dashboard.yaml +++ b/mobile_dashboard.yaml @@ -4799,6 +4799,28 @@ views: cards: - type: heading heading: Meds + - type: entities + state_color: true + show_header_toggle: false + entities: + - entity: input_boolean.tina_ibuprofen_taken + - entity: input_datetime.tina_ibuprofen_taken + - entity: input_datetime.tina_ibuprofen_notify + visibility: + - condition: state + entity: input_boolean.tina_ibuprofen_active + state: 'on' + - type: entities + state_color: true + show_header_toggle: false + entities: + - entity: input_boolean.tina_tylenol_taken + - entity: input_datetime.tina_tylenol_taken + - entity: input_datetime.tina_tylenol_notify + visibility: + - condition: state + entity: input_boolean.tina_tylenol_active + state: 'on' - type: entities entities: - entity: input_boolean.tina_morning_meds_taken @@ -4827,6 +4849,17 @@ views: name: Night Reminders show_header_toggle: false state_color: true + - type: entities + entities: + - type: custom:fold-entity-row + head: + type: section + label: Settings + entities: + - entity: input_boolean.tina_ibuprofen_active + name: Ibuprofen Active + - entity: input_boolean.tina_tylenol_active + name: Tylenol Active - type: grid cards: - type: heading