I have this other automation that manages the input toggle, as seen below:
alias: Dining Room Auto Lights Toggle
description: ""
triggers:
- device_id: d7a6241696972ed86b82d693ff88b5a9
domain: zwave_js
type: event.value_notification.central_scene
property: scene
property_key: "001"
endpoint: 0
command_class: 91
subtype: Endpoint 0 Scene 001
trigger: device
value: 0
id: Dining Room Paddle Up
- device_id: d7a6241696972ed86b82d693ff88b5a9
domain: zwave_js
type: event.value_notification.central_scene
property: scene
property_key: "002"
endpoint: 0
command_class: 91
subtype: Endpoint 0 Scene 002
trigger: device
value: 0
id: Dining Room Paddle Down
- trigger: state
entity_id:
- input_boolean.Dining_room_auto_lights
from:
- "on"
to:
- "off"
for:
hours: 4
minutes: 0
seconds: 0
id: Dining Room Auto Turned Off
conditions: []
actions:
- choose:
- conditions:
- condition: trigger
id:
- Dining Room Paddle Up
- Dining Room Paddle Down
sequence:
- action: input_boolean.turn_off
metadata: {}
target:
entity_id: input_boolean.Dining_room_auto_lights
data: {}
- conditions:
- condition: trigger
id:
- Dining Room Auto Turned Off
sequence:
- action: input_boolean.turn_on
metadata: {}
target:
entity_id: input_boolean.Dining_room_auto_lights
data: {}
mode: single
Since the Dining Room Auto Turned Off trigger uses a for timer does this run the risk of never running if HA restarts? If so, what would y'all recommend?