Alexa is harvesting all my entities

Hi all
I have the following configuration :

alexa:
smart_home:
locale: it-IT
filter:
  include_entities:
    - person.pippo
    - media_player.tv
    - light.cucina

I expect that since I export only this 3 entities, all the other should be “hidden” but when I start to search new devices the echo find thousands of “devices”.
Do I miss something? Should I have to exclude all the other domains ?

thanks for the support

As default everything is included. That’s why include only works together with exclude. :slight_smile: exclude can work on it’s own, but not include.

At the moment everything is included and you additionally include your three entries. There is nothing configured to exclude anything. :wink: :slight_smile:

2 Likes

It means that I have to use something like

alexa:
  smart_home:
    filter:
      include_entities:
        - person.leo
        - media_player.leog_tv
        - light.cucina
      exclude_domains:
        - switch
        - automation
        - binary_sensor
        - button
        - calendar
        - camera
        - climate
        - cover
        - device_tracker
        - group
        - number
        - person
        - remote
        - select
        - select
        - sensor
        - stt
        - sun
        - switch
        - todo
        - tts
        - update
        - wake_word
        - water_heater
        - weather
        - zone
    #    - light
    #    - media_player
    #    - light

if i want to import only 3 entities?

Kinda, yes. :slight_smile: And I’d exclude light and media_player domains as well. They should be overwritten by the include of the specific entites. :slight_smile:

There might be something like a wildcard to exclude domains, but I unfortunately don’t know for sure. :slight_smile:

ok… i will try