I’m trying to create a script to call a specific scene. I call the script from my floorplan. When i add the script and reboot hassio, i get and error that default.config could not setup dependancies.
You should remove the quotes around movie_scene_toggle. What file is this script in?
Also, you don’t need to restart Home Assistant to reload a script, you can just reload it at Configuration > Server Controls > Reload Scripts. Along those lines, you should always run a config check before restarting Home Assistant.
script: should not be included above the script if the script is in a separate file with a script: !include scripts.yaml statement (or similar) in configuration.yaml
Though I use packages, so it is (just to make things more confusing, sorry ! )
Edit: I was merely attempting (and failing, despite Tediore’s kind words) to show that in yaml hierarchy, it comes under the script: heading.
Make sure you only have ONE script: heading, UNLESS you have packages !
(that’s about as clear as I can make it, I think ! )
Thanks for the support @Tediore and @Mutt . Found the reload scripts option /noob
The quotes are not the problem, my previous created scripts also have quotes, and do work. The error should be somewhere else in the script, but can’t figure it out.
Sorry for the confusion, I should have said you don’t need the quotes around each slug. Put this in the template tool at Developer Tools > Templates and see what it returns: