@ -5794,11 +5794,17 @@
|
|||||||
sequence:
|
sequence:
|
||||||
- alias: Send critical TTS notification if any meds aren't taken
|
- alias: Send critical TTS notification if any meds aren't taken
|
||||||
if:
|
if:
|
||||||
- alias: If any med reminders are currently active
|
- alias: Check if any reminders are active
|
||||||
condition: template
|
condition: or
|
||||||
value_template: "{% set med_reminders = is_state('input_boolean.tina_morning_meds_reminder','on')
|
conditions:
|
||||||
or\n is_state('input_boolean.tina_night_meds_reminder','on')
|
- condition: state
|
||||||
%}\n{{ med_reminders == true }}"
|
entity_id: input_boolean.tina_morning_meds_reminder
|
||||||
|
state: 'on'
|
||||||
|
alias: Morning meds reminder active
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.tina_night_meds_reminder
|
||||||
|
state: 'on'
|
||||||
|
alias: Night meds reminder active
|
||||||
then:
|
then:
|
||||||
- alias: Send critical TTS notification
|
- alias: Send critical TTS notification
|
||||||
service: script.text_notify
|
service: script.text_notify
|
||||||
|
Reference in New Issue
Block a user