Hi, I’m moving to from an older version of HA to 2023.3.1, in the previous version I managed a script to turn off a mqtt switch after 40 minutes it was tunerd on. Now every configuration files have passed the syntax verification, but the automation I wrote seems not to fire the script anymore.
This is my automation.yaml, I was trying with a boolean field instead the mqtt switch, but the logic it’s the same:
- id: a0050
alias: "turn off boltest when turned on"
trigger:
platform: state
entity_id: input_boolean.boltest
to: "on"
action:
service: script.turn_on
target:
entity_id: script.boltest_script
- id: a0051
alias: "boltest reset timer"
trigger:
platform: state
entity_id: input_boolean.boltest
to: "off"
action:
service: script.turn_off
target:
entity_id: script.boltest_script
Hi, it’s weird but in the logbook I don’t see any trace for the script to be called when boltest change state to ON.
I wrote directly the script.yaml, I’m not using the UI, would this be the problem?