Google assistant expose_by_default changed in 0.8x?

Today I wanted to add a switch to my google_assistant configuration, the request sync command was not working, so I unlink my test app in Google Home app (HASS configuration) and relinked.

To my surprise it added all my entity_id, like 360 of them, while I exposed only 56 (57 since I added a new one today).

Below my google assistant in configuration. Any clue about this change ion behaviour?

  project_id: hassio-10-18
  expose_by_default: false
  api_key: !secret google_api_key
  entity_config:
     cover.garage:
        expose: true
        aliases:
          - Garage door

followed by other 56 entities

Indeed , look here for solution

so solutiuon is this one?

  project_id: hassio-10-18
  expose_by_default: false
  exposed_domains:
  api_key: !secret google_api_key
  entity_config:
    cover.garage:

Yes, I had like script, switch after this line : exposed_domains:

Then removed those, and all was fine

No!! I tried with the new configuration as below, and all my entity_id are loaded (360 of them instead of the 57 exposed) I run HASS 0.83.3

  project_id: hassio-10-18
  expose_by_default: false
  exposed_domains:
  api_key: !secret google_api_key
  entity_config:

Same problem here, this is my first time setting it up. I only want to expose my lights to the assistant initially, here is my config:

project_id: home-assistant-8508b
expose_by_default: false
entity_config:
  light.lamp_extension_arc:
    expose: true
    room: Extension
  light.lamp_extension_small:
    expose: true
    room: Extension
  light.lamp_extension_tall:
    expose: true
    room: Extension
  light.lamp_hall_console:
    expose: true
    room: Hallway
  light.lamp_living_room_small:
    expose: true
    room: Living Room
  light.lamp_living_room_tall:
    expose: true
    room: Living Room
  light.light_outside_front:
    expose: true
    room: Outside

But it looks like all supported entities are loaded (60+) instead of just the 7 lights.

put # expose_by_default: false

  project_id: !secret google_project_id
  api_key: !secret google_homegraph_api_key
  entity_config:
    group.timer_light:
      name: Auto Outdoor Light
      aliases:
        - outdoor light
        - auto outdoor light
      expose: true     
      room: Office

Which HASS version you run?

Did you try @Sunonline suggestion?

Ha v 0.84.5

I use Ha v 0.84.5 / will upgrade 0.84.6 this afternoon.

Still not working for me, I am on 0.84.3 (can’t update for unknown reason).

The below code exposes all my entity_id

  project_id: hassio-10-18
  # client_id: !secret google_client_id
  # expose_by_default: false
  api_key: !secret google_api_key
  entity_config:
     cover.garage:
        expose: true
        room: Garage
  project_id: !secret google_project_id
  api_key: !secret google_homegraph_api_key
  entity_config:
    cover.garage:
      name: Garage
      aliases:
        - garage
        - my garage
      expose: true     
      room: Garage

Sorry I don’t see differences??

That’s my config (plus around 50 entity_id)
But all 300+are getting exposed.

Now I updated to 0.84.6

  project_id: hassio-10-18
  # client_id: !secret google_client_id
  api_key: !secret google_api_key
  entity_config:
     cover.gatage:
        expose: true
        room: Garage
        aliases:
          - Garage door

Did you solve?

I did… Place the expose_by_default: false after your entity_config. Make sure you have at least one entity set to expose: true.

Im running HA 2021.12.10 but are running into the same issue. Below my config. I tried several combinations, but it keeps adding all the devices. HELP, what goes wrong, does anyone have a working YAML file?

project_id: xxxxx
service_account:
  private_key: xxxxx
  client_email: xxxxx
  report_state: true
  expose_by_default: false
  exposed_domains:
  entity_config:
    input_boolean.slapen_gaan:
      expose: true
      room: Hal meterkast
      name: Slapen

this is mine …


  project_id: !secret google_proj
  service_account: !include xxx.json
  expose_by_default: false
  report_state: true
  entity_config:

no issue, the only entities in the app, are the ones below entity_config: