Yeah - keep a boolean that you reset ~midnight. Once the mailbox is open, set it to true. You could even base periodic messages based on it being true (and a motion sensor tripping).
1 Like
Instead of 2h delay, I did a numeric value trigger for the script. When sauna temperature is below 50’C the notification turns on again. As a little bonus, the script turns off the lights.
Script:
sauna_notify_on_off_delay:
alias: Sauna Notify On - Off Delay
sequence:
- service: homeassistant.turn_off
target:
entity_id: automation.notify_sauna_temperature
- wait_for_trigger:
- platform: numeric_state
entity_id: sensor.sauna_temperature
below: '50'
continue_on_timeout: false
- service: homeassistant.turn_on
target:
entity_id: automation.notify_sauna_temperature
- type: turn_off
entity_id: switch.sauna_light
domain: switch
- type: turn_off
entity_id: light.sauna_shower
domain: light
- type: turn_off
entity_id: switch.sauna_chillax
domain: switch
mode: single