Use custom commands to Google Home Mini and use them in HA? For example i would like to say: Good Morning or i am at Home and with this start HA action or swich some swich in HA. But i do not want to say: Turn on Good Morning or Turn on I am at Home as using exposed swiches.
I see only way to use scenes, predefined in Google Home App. Is there better and directer way?
To deteced from which Google Home Mini the command was made? To make an actions only in room where it was said.
Yes just expose a script. You will need to say ‘Run <Script Name>’. If you dont want to say run…, make a routine for whatever you want, that executes ‘Run <Script Name>’.
To run a script from Google Assistant, you need to say to it 'Run <script name>. It will then run. That obviously is kinda clunky and you actually want something easy to remember.
For example, say your script is called ‘Execute at bed time’. To google assistant you need to say, ‘Hey google, RUN Execute at bed time’. It would then run the script. Bit yuck.
You then go into Google Assistant Routines on your phone, and create a routine, where you say ‘Good night’, and that executes ‘RUN Execute at bed time’. You now just say ‘Hey Google, Good night’. Script now runs.