I am trying to exclude certain entities and domains from being discovered by Alexa. Everytime I discover new devices on Alexa its still finding everything from my HA. Below is whats in my config.yaml file. Can anyone help?
Thanks
alexa:
filter:
include_entities:
- media_player.living_room_tv
- media_player.denon_avrx2000
include_domains:
- media_player
exclude_entities:
- group.all_lights
- group.all_switches
- group.main_bedroom_view
- group.main_kitchen_view
- group.main_livingroom_lights
- group.main_livingroom_view
- light.light_1
- light.light_2
- media_player.bedroom
- media_player.kitchen
- media_player.kodi
- switch.lamp
exclude_domains:
- light
- group
- switch
entity_config:
media_player.living_room_tv:
name: TV
description: The TV in the living room```
Did you set up the Alexa cloud before applying the filters? That’s what I did and found once it’s pulled something through it’s not subsequently removed by the filter.
I had to go onto the Alexa website to properly delete everything I didn’t want. Once that was done the filter stops it being pulled through again
I’m having the same issue (and yes, I’ve had Alexa forget and re-discover my devices several times). No matter what I do, it includes EVERYTHING. I don’t want it to see my automations, for example, yet they always are found. Here’s my config. I’ve tried having exclusions first, then inclusions, but it doesn’t make a difference. It still finds everything.
cloud:
alexa:
filter:
include_domains:
- light
- switch
include_entities:
- script.night
- group.basement_lights
- group.kitchen_lights
- group.bar_lights
exclude_domains:
- automation
- group
- script
- sensor
- media_player
exclude_entities:
- switch.basementmaster_switch
entity_config:
script.night:
description: A script to enable night mode
You need to log into Alexa via the web and manually remove all the devices you dont want. Once you done this and as long as you have excluded the groups/components you no longer wont, it shouldn’t re-discover them next time you try search.
I too face the same problem. I have a VeraPlus, I used HA-Bridge to publish vera devices and scenes as HUE-lights and was hoping to be able to discard that system and only use HASS as the common denominator for my smarthome.
I am trying to exclude (as a test) this Vera device: # Cloud cloud: _ alexa:_ _ filter:_ _ exclude_entities:_ _ - switch.fgs222_bad_307_
I deleted all devices in Alexa (in a webbrowser), disabled the Alexa integration, restarted HASS, ran discovery again. No matter what I do, all devices found in HASS are discovered in Alexa.
Grateful for any suggestions,
/Mike