Google Home Command as a Trigger for HASS

Im quite new to all the home automation, but i have Google Home and Hass installed on raspberry pi. I also have working Hass switch to turn my projector and lights.

I was wondering if there is a way to do the following:
When i say ‘Movie time’ then tv turned on, lights dimmed, etc.

My question is how to make hass react on certain phrase told to Google Home? And if there is no way to do this are there any workarounds?

Would really appreciate your input,
Cheers,
Alex

If I understand what your trying to do correctly you could create a script called “Movie Time” which will act as a switch in Google home.

Then create a shortcut in the Google Home app for… When I say “Movie Time” > “Turn on Movie Time”

Hope this helps

Yeah, that what i was looking for!
I didn’t know about shortcuts. Thanks a lot!

Alex

Dear jamie, is it possible to send me an example of ascript that can trigger an action by Google home by Voice. Thanks a lot! My regards! Ivan