How to activate scene via voice command [Google Home]?

Hello community, I already configured the google_assistant component on HA, and it works perfect. I can, for example, turn on/off yeelight devices via voice command sent to my Google Home devices.

# Google Assistant       
    - switch
    - light
    - group
    - scene
    - media_player
    - input boolean

Then, I taken the example configuration coming from official page, and setup it in configuration.yaml, obliviously changing entities with my light name.

  - name: Romantic
      light.tv_back_light: on
        state: on
        xy_color: [0.33, 0.66]
        brightness: 200

Now, how can I activate this scene via Google Home? I tried “Activate Romantic” but my Google Home is setup in my own language (Italian) and the related translated command (attiva) doesn’t work. Am I missing something? :thinking:

Thank you.


I have a script called “Sleep script”

I gave it the nickname “Sleep script” in Google

And I use the command “start sleep script” to start it from Google assistant

(Also added some shortcut)

Oh sorry, you asked for scene. That I don’t know, I don’t use any. Worst case you could make a script that start a scene (if scene are not supported)

It’s working fine when using “start” or “activate” in German.

Are you using the Italian translation for “Romantic”? My experience with Google Assistant is, that it always tries to interpret the words in my native language when I mix some English words into my sentence. This usually results in some kind of failure/unintended behavior.

Check your Activity Log in the Google Home App to see what it may or may not have understood from your command.

Yes, I used Italian word for name:, and start or activation doesn’t work for me.
I tried also with shortcut, but even the name is on Google Home App, Google Home replied me with “Sorry I don’t understand”. DAMN! I believe the scenes can be used only in English

Ok, I’ll report my solution in case someone else have the same issue. I know, maybe it’s a dirty solution, but it works! :smiley:

Firstly I created a simple scene who will turn on 2 lights, set their color to pink and brightness to 200

  - name: romantico
        state: on
        rgb_color: [255,0,255]
        brightness: 200
        state: on                
        rgb_color: [255,0,255]
        brightness: 200     

For the color I found an useful color picker by GOOGLE

Than I created a template switch who will execute the scene:

- platform: template
      friendly_name: "Piantana Rosa"
      value_template: "false"
        service: homeassistant.turn_on
          entity_id: scene.romantico
        service: homeassistant.turn_off
          entity_id: scene.romantico

At this point I can call the scene from the GUI using the switch, but also via voice using Google Home. Btw, I had to use the command “Turn On Romantico” that is not properly “elegant” for a scene. So, I just created a shortcut using Google Home App from my phone where the command I give is:
Activate Romantico
Than Google Home will receive:
Turn on Romantico

Obliviously everything in my own language :slight_smile:
The scenes are not natively supported in Italian (and not only Italian I believe), that’s why I had to use this trick.

1 Like

As long as you have exposed scenes and can see them in Google Assistant app you just say Hey Google activate xxxxxx and it does it.

Nope, this doesn’t work in language that does not natively support scenes like my own language (Italian).

Fair enough - I missed that bit.

Yep! Still don’t understand why Google introduce these differences. When my GH spoke in english, I was able to use scenes and routines. Then, two month ago Google activated the italian language, but they miss ton of features :face_with_symbols_over_mouth:

You can use shortcuts…

I already use shortcut, it’s in my post

:disappointed: sorry, I confused the posts :joy::joy:

I think the solution with the template switches are rather brilliant. I use a group today to turn off (almost) all lights in the house. The problem with this solution is that its really easy to confuse Google Assistant to turn on all lights when I try to sneak up early in the morning (no I told you to turn on the hallway, not the whole house…). I was thinking about using a scene instead to avoid the turn on part, but this i even better.

Using your solution I can activate a totally different group/scene when turning on and off the virtual switch. Its really rare that I want to turn on all lights in my house.

I am trying to activate a HA scene with Google Assistant. It was easier than described in this post. With a HA Cloud subscription, the following worked for me:

  • Create scene in HA
  • Go to Configuration < Home Assistant Cloud < Google Assistant, Manage Entities and make sure that the scene is exposed to Google Assistant
  • Go to Configuration < Home Assistant Cloud < Google Assistant, Sync Entities to Google
  • Open Google Home app on your phone, go to Assistant settings > Routines
  • Create a new Routine, this routine will Adjust Home devices, Adjust scenes, select your scene
1 Like

Over 2 years later, but you’re brilliant!

Found it and this works like a charm! Thank you!