Klagio
(Klagio)
December 5, 2018, 5:06pm
1
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
The logic was changed with 0.83.0, and they’re going to revert back to what it used to be some time soon since it’s causing issues.
Klagio
(Klagio)
December 5, 2018, 5:17pm
3
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
Klagio
(Klagio)
December 5, 2018, 5:26pm
5
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:
redmamoth
(Jonathan)
December 21, 2018, 4:47pm
6
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.
Sunonline
(Sun K)
December 21, 2018, 5:14pm
7
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
Klagio
(Klagio)
December 21, 2018, 7:18pm
8
Which HASS version you run?
Did you try @Sunonline suggestion?
Sunonline
(Sun K)
December 22, 2018, 2:01am
10
I use Ha v 0.84.5 / will upgrade 0.84.6 this afternoon.
Klagio
(Klagio)
December 22, 2018, 11:15am
11
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
Sunonline
(Sun K)
December 22, 2018, 1:54pm
12
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
Klagio
(Klagio)
December 22, 2018, 2:29pm
13
Sorry I don’t see differences??
Klagio
(Klagio)
December 23, 2018, 2:09pm
14
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
lysol
December 19, 2019, 8:35pm
16
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: