Hello,
I would like the final step to change the input_boolean.guest_mode to off
error : extra keys not allowed @ data[‘off’]
alias: Guest leave house
description: ""
triggers:
- trigger: state
entity_id:
- input_boolean.guest_mode
to: "off"
enabled: false
- trigger: numeric_state
entity_id:
- zone.home
above: 0
conditions:
- condition: state
entity_id: input_boolean.guest_mode
state: "on"
actions:
- action: automation.turn_on
metadata: {}
target:
entity_id:
- automation.synology_home_mode_on
- automation.synology_home_mode_off
- automation.vedo_alarm_activeren
- automation.vedo_alarm_de_activeren
data: {}
- action: switch.toggle
metadata:
input_boolean.guest_mode: null
data:
"off": null
mode: single