How to Trigger a script from Google Home?

Hi guys,

Can anyone tell me if there is a way to trigger scripts from Google Home without having to say “turn on” first ?

For example I have a script called 'Whats the inside temperature" that has the Google Home announce the current temperature. I was hoping to just be able to say the script name “OK Google, What’s the inside temperature”, but google tells me that the device isn’t set up yet.
If is say " OK Google, turn on whats the inside temperature" I get the desired answer.

Am I missing something ?

Using emulated_hue? For it everything is a light

Use https://home-assistant.io/components/ifttt/

Here’s an example of how you set up the IFTTT side of it to trigger a script.

@anon35356645 That makes sense, I’ve used the emulated_hue_name customisation to make things a little more ‘speak’ friendly
@Danielhiversen Thanks for the link. Initially I was avoiding IFTTT because I was wanting to keep everything in house ie: off the cloud. Silly when I thought about it as Google Home is completely cloud based :confused:
@rpitera Thanks for the example, I now have a working IFTTT automation triggering a HA script

Thanks for all the help guys !! :slight_smile:

1 Like

I´m trying to create a trigger to turn on my TV I found out the entity i.d on state dashboard, but i can´t find the service, there´s nothing on my service page, anyone could help me

entity_id_of_your_device.turn_on

You can setup a shortcut in the google home settings. You say: “What’s the inside temperature”, Google translates to: “turn on what’s the inside temperature”