Hi all, I had to expand my dashboard buttons to call different scripts (for my vacuum I had to split and change rooms referenced for spot cleaning), but despite it working manually, the buttons are still calling the old scripts. for example. The old button that had dining room and kitchen together, got split into kitchen and dining room buttons, but I click on the kitchen button, and it still calls the dining room script, despite it clearly referencing the kitchen script entity. The button for cleaning the dining room errors that it cannot find script.clean_dining despite it being present and I can see/run it in scripts section of HA. I have restarted HA, reloaded integrations etc but can't get this component to behave. Any thoughts? I have screenshots of the yaml of the card, and the entity pages of the scripts.
#Updated buttons still calling old script
1 messages · Page 1 of 1 (latest)
Be aware that the entity_id of a script can be different than it's service name if you rename the id of a script.
So if you change a script's entity_id, you still forever use the old name (the unique id) when called as a service action
Yea that sounds like what has happened then. so I should delete the scripts and start from scratch to get the id's back to match the service name?
I mean you don't really have to.