#Calling scripts without having to prefix with "run" <name of script>
1 messages · Page 1 of 1 (latest)
Could create an automation with a sentence trigger of "trigger validation" and have it's action be to execute your script
Or an intent script if you prefer that, either should work
I would not recommend having sentences as vague as this (i.e. simply <name>). You could have a script called "Turn off the lights" and that might get misinterpreted when you call it by just its name
If your particular setup is safe to call scripts by just their name, you could do as Nick suggested or you could https://github.com/OHF-voice/speech-to-phrase?tab=readme-ov-file#custom-sentences
Created an automation that acts as a proxy for triggering scripts and it seems to work fine. Thanks for the help!
Hi Guys ... I am kinda in a similar situation, as I am testing speech-to-phrase.
I am trying to get wildcards working ... is it possible to fill my shopping list without pre-defining all potential items?
Wild cards aren't supported with speech to phrase