New Light Group - hiding from Google Assistant

I don’t seem to be able to hide the light group I created from Google Assistant.

Lights.yaml

- platform: group
  name: Office Light Group
  entities:
    - light.office
    - light.spots

also groups.yaml

  Light:
    name: Light
    view: no
    control: hidden
    entities:
      - light.dining
      - light.lounge
      - light.meals_area_light
      - light.fan_light
      - light.office_light_group
      - light.office
      - light.spots

also configuration.yaml

# Google Assistant
google_assistant:
  project_id: !secret ga_project
  client_id: !secret ga_client
  access_token: !secret ga_access
  agent_user_id: !secret agent
  api_key: !secret api-ga
  exposed_domains:
    - switch
    - light
    - scene
  entity_config:
    light.office_light_group:
      expose: false

I shouldn’t be exposing any groups should I? None of my other groups are being sync’ed

Actually - it’s not syncing it but it behaves as if it is. If I tell it to turn on the office light I get the group turning on. If I tell it to activate a scene all is well. Before I defined the group I could say turn on office. Had to be careful or it could consider it to be a room… Maybe it’s too similar and I should put them in a study room instead of office…

It would be:

  entity_config:
    group.office_light_group:
      expose: false

This may not actually work as the individual lights will still be exposed. If you want to also hide them:

  entity_config:
    group.office_light_group:
      expose: false
    light.office:
      expose: false
    light.spots:
      expose: false

Expose groups as well if you want other groups to appear.

According to the entity register, light.office_light_group is the correct entity name. I know it’s different to the normal but it’s the new light group component.

does it show up in the light domain when you check it in the template editor?

It shows when I view States and also in the front end. Check the docs here:


I’ll add a screenshot of the frontend when I can on my PC. (It’s using a proxy at the moment and I can’t connect on my computer)

Capture

Weird. On 0.65.4 now and it’s (Google Assistant) telling me I only have 6 lights when I tell it ‘lights off’ So that group is definitely gone now from Google. I can still use my scenes etc so removing groups was a good idea it seems.

My Wemo bit the dust last night with a power blackout - maybe just a coincidence as we have a wired in surge protector and everything else is working ok. So getting a couple more xiaomi wifi switches for $14 Woot!

All around this seems odd. It is a new group type, maybe they are hammering out the details. Might take a build or two. Might be worth it to check out the github for homeassisant and see if anyone mentions issues with the group light.

I’m not seeing an issue now. I am only getting the 6 lights exposed and my scenes which is what I want. I think part of my problem was that I have a light named the same as a room - I think that’s an issue possible. However, not I have the groups hidden from GA, I’m getting exactly what I want. As a bonus, none of my automations are exposed anymore either.

Maybe the light group shows up in the UI as a light, but under the hood is in the group domain. It really depends on what the class that light group is inheriting from. I would guess its inheriting from a group entity.

I probably should have a play and see. I have it explicitly exposed as false and I don’t have groups exposed either. I don’t really care which it is as it’s doing what I want anyway. I am pretty sure it is a light given it’s not a group. entity