I just subscribed to the trial month of Home Assistant Cloud to control it with Google Assistant.
I wanted to only expose one light for starting (as I got everything else connected directly). However, when connecting the account to Google Assistant it finds all lights, switches, streaming devices and scripts.
This is the cloud part of configuration.yaml
cloud:
google_actions:
filter:
include_entities:
- light.nachttisch
exclude_domains:
- group
- input_boolean
- scene
- light
- script
- switch
- fan
- cover
- media_player
- climate
I started with the include part only, but as it didn’t work I added the exclude. However it’s displaying everything, too.
It’s hard to tell, but is your indentation correct? Looking at what you posted, there is none at all. Have a look at this to make sure you have it correct.
So, now I managed to post it with indentation. I copied everything from the configuration page, so it should be okay. However, I still get everything connected.
In case, its easier with the dots:
EDIT: I had to restart Home Assistant. Loading configuration under settings didn’t work.
So thanks for that!
However I got two more questions:
Additionally to the wanted scripts and lights I get the entities “all switches”, “all lights” and so on. Can I disable these, too?
I can activate my script called toggle using Google Assistant. However it doesn’ appear in the “Home devices” page of the Google Home App. This will make remembering scripts difficult. Any way I can display scripts there?