Filtering items for the google_assistant plugin

Hey Folks,

I recently migrated from HA 0.72ish to 0.83 and I’m struggling to get a number of things that were working before to work the same.

I’ve got https://www.home-assistant.io/components/google_assistant/ running again but it’s not filtering anything.

google_assistant:
  project_id: MY_PROJECT_ID
  expose_by_default: false
  entity_config:
  switch.fan:
    expose: true
  switch.tv_trevor:
    expose: true

To my knowledge this should limit what I see in GA to just these 2 switches, but instead everything is passed through!

Any idea where I’m going wrong here?

Unless it’s just the formatting here, your indentation is wrong.

Try

google_assistant:
  project_id: MY_PROJECT_ID
  expose_by_default: false
  entity_config:
    switch.fan:
      expose: true
    switch.tv_trevor:
      expose: true

That will only expose the fan and tv_trevor switches.