Hello,
I am writing an automation where i try to run a script with my variables. All works, but.
I need to use script.turn_on to queue multiple script calls.
how to write it correct?
My action in my automation (this works):
service: script.vysavaj_script
data:
room: 16
izba: vac_pracovna
What am i trying to do:
service: script.turn_on
entity_id: script.vysavaj_script
data:
variables:
room: 16
izba: vac_pracovna
this throws me an error:
Message malformed: Unable to determine action @ data[‘action’][0][‘then’][0]
Thank you.