Fix meds getting reset after I nap

This commit is contained in:
2024-01-24 19:57:03 -05:00
parent a11f1db31d
commit e0f778bdeb

View File

@ -2455,13 +2455,16 @@
alias: Night Taken alias: Night Taken
from: 'off' from: 'off'
to: 'on' to: 'on'
- platform: state - platform: event
entity_id: event_type: wakeup_event
- input_boolean.tony_awake event_data:
from: 'off' who: tony
to: 'on' type: wakeup
id: awake-on context:
alias: Awake On user_id:
- c3909d27048140729f002aaef0391775
alias: Wakeup
id: wakeup
- platform: state - platform: state
entity_id: entity_id:
- input_number.tony_afternoon_meds_interval - input_number.tony_afternoon_meds_interval
@ -2574,7 +2577,7 @@
- alias: Wakeup - alias: Wakeup
condition: trigger condition: trigger
id: id:
- awake-on - wakeup
sequence: sequence:
- if: - if:
- condition: state - condition: state