Actually notify me about my morning meds when I wake up
This commit is contained in:
@ -2475,22 +2475,15 @@
|
|||||||
- wakeup
|
- wakeup
|
||||||
- manual-wakeup
|
- manual-wakeup
|
||||||
sequence:
|
sequence:
|
||||||
- if:
|
- service: input_datetime.set_datetime
|
||||||
- condition: state
|
target:
|
||||||
entity_id: input_boolean.tony_morning_meds_taken
|
entity_id: input_datetime.tony_morning_meds_notify
|
||||||
state: 'off'
|
data:
|
||||||
alias: If I haven't already taken my meds
|
datetime: '{% from ''time.jinja'' import set_datetime %} {{ set_datetime(0,1)
|
||||||
then:
|
}}
|
||||||
- service: input_datetime.set_datetime
|
|
||||||
target:
|
|
||||||
entity_id: input_datetime.tony_morning_meds_notify
|
|
||||||
data:
|
|
||||||
datetime: '{% from ''time.jinja'' import set_datetime %} {{ set_datetime(0,1)
|
|
||||||
}}
|
|
||||||
|
|
||||||
'
|
'
|
||||||
alias: Set time to start notifying for morning meds
|
alias: Set time to start notifying for morning meds
|
||||||
alias: Set morning meds notification time
|
|
||||||
- alias: Turn off all meds taken
|
- alias: Turn off all meds taken
|
||||||
service: input_boolean.turn_off
|
service: input_boolean.turn_off
|
||||||
metadata: {}
|
metadata: {}
|
||||||
|
Reference in New Issue
Block a user