#Need help with using Fields in Scripts.
1 messages · Page 1 of 1 (latest)
YAML code being used.
What the fields look like
Result
https://www.home-assistant.io/integrations/script/#passing-variables-to-scripts
And I'm following this
you need extra quotes i think
Like this?
title: "'{{header}}'"
how does the yaml look now?
Says it's okay.
It was because it was parsing nothing in it.
Calling the script gave me the fields and stuff,
Very silly that it would allow that.
being able to pass in nothing is important for it to be able to do. if you want to do something different on a null entry you should manage that yourself
Yup, now it calls it right.
there we go
I just wanted to see if it worked.
sorted anyway
What's the thought behind extra quotes?
never heard of that
Anyways, I'll call it solved.