Google Assistant with Light Groups

Hi,

I have these:

google_assistant:
  project_id: hass-home-885df
  service_account: !include hass-gass.json
  report_state: true
  expose_by_default: false
  entity_config:
    light.back_patio:
      expose: true
    light.back_deck:
      expose: true

light:
  - platform: group
    name: Back Patio
    entities:
      - light.back_patio_bulb
      - light.backyard_lights

  - platform: group
    name: Back Deck
    entities:
      - light.back_deck_bulb
      - light.back_deck_light_string

  - platform: switch
    name: Backyard Lights
    entity_id: switch.backyard_lights

  - platform: switch
    name: Back Deck Light String
    entity_id: switch.back_deck_light_string

light.back_deck and light.back_patio aren’t getting surfaced to Google Assistant. According to other posts in the forum it seems the group platform should be supported. I get no errors in the logs, it just doesn’t get sent to Google. And yes, I confirmed the entity names are correct.

I’ve tried removing the items from Google and restarting, then re-adding and restarting, but otherwise I’m at a loss.

Can someone help?

Edit:

In the mean time I changed the Google Assistant entities to this:

    light.back_patio_bulb:
      expose: true
    light.back_deck_bulb:
      expose: true
    light.backyard_lights:
      expose: true
    light.back_deck_light_string:
      expose: true

Google is smart enough that “Back Deck Lights” should handle both bulbs. I strongly suspect this is a Home Assistant bug, light groups aren’t surfaced to Google Assistant!

Not sure if you ever figured this out, but by making the assigned rooms the same in Google Home, they will automatically be grouped together. Might be a hack for you, but no, the HomeAssistant room is not carried to Google Home/Assistant.

That wouldn’t work in my case since I don’t really want separate rooms in Google for my two backyard areas. They all four would get grouped together and I want Google to treat them as two devices in one room.

I actually solved this by grouping the devices as ZHA groups then exposing those two devices. IIRC this didn’t work before the “show switch as” stuff, but it does now. I’m actually quite happy with it.