Service: script not found error help

i am very new to coding and have been trying to make a card to call Alexa tts with help from some others but im stuck on the final button when pressing announce to run the script to send the message to the Alexa device i get “Service script.send_alexa_announcement not found.”

the script is named correctly so I’m not sure why it is unable to call it and it runs normally when i manually run it in the script but the card button refuses to call it on acoount that it “cant be found”

here are some pictures of what everything looks like, thanks for any help!!



image

1 Like

I have a similar problem. Script and it’s ID exist and are correct, but the automation complains it doesn’t exist. I find this happens if when the script is created it has a different ID and that ID is then changed.

1 Like

I’ve seen the same thing a couple times.

You can try restarting HA to see if it will correct itself, but a better bet is to just delete the script then restart and recreate the script.

1 Like

I did that, and it gave it a number for an ID. I have to hack the script.yml file to fix it. The UI is bugged.

1 Like