- Comment faire pour n’avoir que les entités que j’ai besoin de commander avec Alexa ? Ou comment exclure les entités que je n’ai pas besoin dans Alexa. ( car ha remonte dans alexa 255 appareils
)
Merci pour votre aide
Edit 1 : j’ai trouvé le code suivant sur ce lien https://www.nabucasa.com/config/amazon_alexa/ mais je n’ai pas nabucasa.
J’ai malgré tous fait les modifications suivantes
J’ai mis le code suivant dans configuration.yaml
configuration.yaml
############################################################
## HOME ASSISTANT: configuration ##
############################################################
### < Configure a default setup of Home Assistant (frontend, api, etc) >
#default_config:
#
# <Connection avec Inginx Proxy Manager >
#http:
# use_x_forwarded_for: true
# trusted_proxies: !secret trusted_proxies
# trusted_proxies:
# - xxx.xx.xx.x # Add the IP address of the proxy server
## packages
homeassistant:
# Load packages
packages: !include_dir_named packages
# packages: !include_dir_named integrations
# whitelist_external_dirs:
allowlist_external_dirs:
- /config/
# include
#group: !include /config/entities/groups/groups.yaml
#command_line: !include /config/entities/sensors_command_line/command_line.yaml
python_script: !include_dir_merge_list python_scripts/
J’ai ajouté un fichier alexa.yaml dans mon dossier packages
alexa.yaml
#
api:
alexa:
smart_home:
locale: fr-FR
endpoint: https://api.eu.amazonalexa.com/v3/events
client_id: !secret alexa_client_id
client_secret: !secret alexa_client_secret
filter:
include_entities:
- switch.plug_zb_001 #ZB001
- switch.0xa4c13892cedc4ea2 #ZB002
- switch.0xa4c1386442433559 #ZB003
- switch.0xa4c13897b38afa8d #ZB004
- switch.0xa4c138d21a4ada2a #ZB005
- switch.0xa4c1380fee2a7965 #ZB006
- switch.0xa4c138505168542e #ZB007
- switch.0xa4c138b2b8cc9c0c #ZB008
- switch.0xa4c1389a6388b5b5 #ZB009
- switch.0xa4c138aefffd1e8c #ZB010
- switch.0xa4c138b41955b770 #ZB011
entity_config:
switch.plug_zb_001:
name: "bar"
description: "prise zigbee 001 - bar"
switch.0xa4c13892cedc4ea2:
name: "radiateur douche"
description: "prise zigbee 002 - radiateur douche"
switch.0xa4c1386442433559:
name: "radiateur bain"
description: "prise zigbee 003 - radiateur bain"
switch.0xa4c13897b38afa8d:
name: "PC Pascal"
description: "prise zigbee 004 - PC Pascal"
switch.0xa4c138d21a4ada2a:
name: "congelateur"
description: "prise zigbee 005 - congelateur"
switch.0xa4c1380fee2a7965:
name: "frigo indesit"
description: "prise zigbee 006 - frigo indesit"
switch.0xa4c138505168542e:
name: "frigo far"
description: "prise zigbee 007 - frigo far"
switch.0xa4c138b2b8cc9c0c:
name: "frigo americain"
description: "prise zigbee 008 - frigo americain"
switch.0xa4c1389a6388b5b5:
name: "lave vaisselle"
description: "prise zigbee 009 - lave vaisselle"
switch.0xa4c138aefffd1e8c:
name: "lave linge"
description: "prise zigbee 010 - lave linge"
switch.0xa4c138b41955b770:
name: "seche linge"
description: "prise zigbee 011 - seche linge"
Édit 2 : c’est fonctionnel, merci a @Neuvidor pour son aide