no! by default all is exposed
you must declare what you want to hide
@itmax86
I do not get it. Before it use to work like the below config, and with the below config it would be exposed ONLY one entioty_id (cover.garage). This was broken in 0.83, now in 0.84.2 its different again?
project_id: hassio-10-18
expose_by_default: false
api_key: !secret google_api_key
entity_config:
cover.garage:
expose: true
room: Garage
aliases:
- Garage door
if its like this is absoluitelyu terrible. I have 1000+ entity_id, and I want to expose few of them, like 50: if its like you said I need to write around 2000 line of code to declare all the entity_id I want to hide?
This is my google assistant yaml file (part of)
# Google Assistant
project_id: !secret ga_project
api_key: !secret api-ga
exposed_domains:
- switch
- light
- scene
- input_boolean
entity_config:
light.yeelight_white_34ce00882e27:
expose: false
light.yeelight_white_34ce00887db6:
expose: false
light.office_light_group:
expose: false
light.lounge:
room: lounge room
light.dining:
room: dining room
So I expose the domains I want and then hide individual entities I DON’t want and I allocate every exposed entity to rooms so I don’t need to do anything else in Google Assistant app.
With 0.83 you needed the expose_by_default: false otherwise everything was exposed and I had about 100 extra things in Google. Before I took that back out for 0.84, I lose all my devices from Google.
Whatever you had working in 0.82 will work exactly the same in 0.84. In 0.83 they made that change but then reverted the change in 0.84.
this was mine in 82.x and earlier, easier, expose by default : false, was already there, so i expose all my domains i need, then expose only the identity, less work
project_id: hassio-...
api_key: ....
expose_by_default: false
exposed_domains:
- cover
- switch
- light
- script
entity_config:
#switchen
switch.bla:
name: blabla
expose: true
Yeah but then you need to set the rooms every time you re-link the app. Much more work IMO.
no, i have the configured in my entities …
like example :
switch.harmony_favorite1:
name: Favoriet 1
expose: true
room: Harmony
aliases:
- Favoriet 1
Hey guys.
GA suddenly reappeared. But do you also noticed that “expose_by_default” if false no longer works?
Moreover I noticed that if I want to hide some switches using google_assistant: false in customize nothing changes.