Exclude entities from Alexa (Haaska)

I can’t seem to exclude unwanted devices from my Alexa setting.

I tried the following:

cloud:
  alexa:
    filter:
      include_entities:
               list of all my entities
      exclude_domains:
               list of all my domains

alexa:
  smart_home:
    filter:
      include_entities:
               list of all my entities
      exclude_domains:
               list of all my domains
2 Likes

Following along because to my knowledge, the only way to do this is to go through the setup again and paste your excludes. At least thats the only way I’ve found to do it. Would love to be able to adjust this after the fact.

1 Like

You have an indent error for your exclude configurations.

This is what I am using in my Haaska setup in configuration.yaml:

alexa:
  smart_home:
    endpoint: https://api.amazonalexa.com/v3/events
    filter:
      include_entities:
        - input_boolean.a_s_smart_plug
        - input_boolean.enable_circ_mode
        - switch.basement_bedroom_switch
        - switch.pantry_lightswitch
        - switch.fr_porch_lightswitch
        - switch.wyze_plug_01_switch
        - switch.heating_pad
        - switch.milk_frother
        - input_button.ztest_button_1
        - light.basement_near_lights_zha
      include_domains:
        - climate
        - light
        - scene
        - script
        - input_button
      exclude_entity_globs:
        - light.browser_mod_*
      exclude_entities:
        - light.ztest_light_group
        - light.ecosmart_zb_a19_03
        - light.ecosmart_zb_br30_01
        - light.ecosmart_zb_br30_02
        - light.ecosmart_zb_br30_03
      exclude_domains:
        - automation
        - binary_sensor
        - camera
        - device_tracker
        - lock
        - media_player
        - remote
        - sensor
        - switch
2 Likes

did you replicate it under cloud: as well?

OK so adding the following line fixed the issue:

endpoint: https://api.amazonalexa.com/v3/events

No need to replicate under Cloud:

reviving this… recently noticed some of my entities I added to HA were not showing up in alexa, which they should have given the globs I inserted and excluded.

Wondering if there have been updates to HA that is causing this integration to behave in a different way? Here’s my yaml config.

The section that is not working is…
My Sony Bravia remote.sony_bravia will not show up in alexa.
and things such as sensor.openweathermap_* are still showing in alexa… which I do not want in there. If I spell it out 100% under exclude_entities, then it removes it.

Seems like globs are having issues… however light.powder_light_* is excluded.

#
#
#
api:

alexa:
  smart_home:
    locale: en-US
    endpoint: https://api.amazonalexa.com/v3/events
    filter:
      include_entity_globs:
        - binary_sensor.*motion
        - binary_sensor.*doorbell
        - lock.*_door_lock
        - sensor.*temperature
        - switch.*light_switch*
        - switch.*zone
        - switch.*fan*
        - switch.*_light*
        - switch.*_switches
        - switch.salt_lamp
      include_entities:
        - remote.sony_bravia
        - switch.olaf
        - switch.water_fountain
      include_domains:
        - light
        - cover
        - climate
        - vacuum
        - remote
      exclude_entity_globs:
        - switch.*_status_light*
        - light.buffet_bulb_*
        - light.hallway_bulb_*
        - light.kitchen_bulb_*
        - light.living_room_bulb_*
        - light.mantel_light_*
        - light.theater_bulb_*
        - light.powder_light_*
        - sensor.openweathermap_*
        - sensor.rheem*
        - sensor.mysa*
        - sensor.sauna_target*
        - sensor.truenas_*
        - switch.*_switch_*
      exclude_entities:
        - switch.table_lamp_1_sonos_status_light
        - switch.kitchen_light_switch_led
        - switch.buffet_light_switch_led
        - switch.foyer_light_switch_led
        - switch.coffee_light_switch_led
        - switch.living_room_light_switch_1_led
        - switch.living_room_light_switch_2_led
        - switch.hall_light_switch_2_led
        - switch.hall_light_switch_1_led
        - switch.stair_light_switch_led
        - switch.theater_light_switch_led
        - switch.fan_switch_led
        - switch.fan_led
        - switch.island_light_switch_led
      exclude_domains:
        - automation
        - script
        - button
        - camera
        - group
        - input_boolean
        - input_number
        - timer