I am trying to play with some automations and having an issue. I have an automation that I believe is watching the state of an input_boolean and if it changes then change the state of a different boolean. However it doesnt seem to do anything?
- alias: ‘Change to ON Mode’
trigger:
platform: state
entity_id: input_boolean.vacation_mode
from: ‘on’
to: ‘off’
action:- service: input_boolean.turn_on
entity_id: input_boolean.normal_mode
- service: input_boolean.turn_on
- alias: ‘Change to OFF Mode’
trigger:
platform: state
entity_id: input_boolean.vacation_mode
from: ‘off’
to: ‘on’
action:- service: input_boolean.turn_off
entity_id: input_boolean.normal_mode
- service: input_boolean.turn_off