New Home Assistant Automation Triggered By Google Assistant

Hello, I am new to home assistant and I was wondering if someone could help me understand how to trigger a home assistant automation to fire when I give something like google assistant a prompt. I have a raspberry pi connected to my garage door switch through a relay and it is working perfectly in home assistant for open and closing operations in the app. Due to the nature of the button on the garage door, the only way to reliably trigger the door to go down is through a series of button press that last a number of seconds. This is something I am current accomplishing thru an automation. I just need to find a way to make the automation activated form my google assistant so that when I drive away I can tell it to put the door down. I have not been able to find much relevant to this specific need so far, so I figured a post might be the best way forward. Thank you for your time.

You might be able to do this by creating a “Routine” in the Google Home app.

How would I be able to select the automation to trigger through the routine?

Create a script in HA that fires the automation (or a script that closes the door).
Scripts are available in google home as scenes, automations are not.
When setting up the routine action, look for something like: “smart home devices” → “scenes” → “add settings”

1 Like