Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smart_home: still working? #257

Open
poudenes opened this issue Dec 14, 2023 · 1 comment
Open

smart_home: still working? #257

poudenes opened this issue Dec 14, 2023 · 1 comment

Comments

@poudenes
Copy link

poudenes commented Dec 14, 2023

Hi There,

I followed the new tutorial and it seems that the smart_home is not working.
All devices are now in Alexa.

This is what I want into Alexa. But there are lots of more devices now in Alexa.

smart_home:
  endpoint: https://api.eu.amazonalexa.com/v3/events
  client_id: !secret alexa_smart_home_id 
  client_secret: !secret alexa_smart_home_secret
  filter:
    include_entities:
      # For all routines in Alexa App
      - script.alexa_clean_bedroom
      - script.alexa_clean_hallway
      - script.alexa_clean_kithcen
      - script.alexa_clean_diningroom
      - script.alexa_clean_livingroom
      - script.alexa_clean_toilet
      - script.alexa_clean_all
      - script.alexa_return_base
      - script.alexa_turn_on_appletv
      - script.alexa_turn_on_tv
      - script.alexa_turn_on_airplay
      - script.alexa_turn_on_nintendo
      - script.alexa_turn_on_morning
      - script.alexa_turn_on_sleeping
      - script.alexa_turn_on_goodnight
      - script.alexa_turn_off_harmony
      - script.alexa_turn_on_peter_early_sleep
      - script.alexa_turn_on_early_sleep

      # Other
      - fan.mechanical_ventilation
      - sensor.fan_speed
      - input_boolean.function_briefing
      - input_boolean.function_tvonly

      # Nest Protect
      - binary_sensor.bedroom_nest_protect_co_status
      - binary_sensor.bedroom_nest_protect_heat_status
      - binary_sensor.bedroom_nest_protect_smoke_status
      - binary_sensor.dining_room_nest_protect_co_status
      - binary_sensor.dining_room_nest_protect_heat_status
      - binary_sensor.dining_room_nest_protect_smoke_status
      - binary_sensor.living_room_nest_protect_co_status
      - binary_sensor.living_room_nest_protect_heat_status
      - binary_sensor.living_room_nest_protect_smoke_status

      # Lights
      - light.hallway_all
      - light.livingroom_all
      - light.wall_all
      - light.window_all
      - light.tv_sync
      - light.nanoleaf
      - light.bathroom_all
      - light.dressoir_all
      - light.diningtable_all
      - light.kitchen_all
      - light.cooking_all
      - light.seeling_all
      - light.sink_all
      - light.bedroom_all
      - light.toilet_all
      - light.balcony_all

      # Motion Sensors - Not seen as motion sensors
      - binary_sensor.toilet_detection
      - binary_sensor.bathroom_detection
      - binary_sensor.hallway_detection
      - binary_sensor.livingroom_detection
      - binary_sensor.bedroom_detection
      - binary_sensor.kitchen_detection
      - binary_sensor.diningroom_detection
      - binary_sensor.bedroom_door_contact
      - binary_sensor.diningroom_door_contact
      - binary_sensor.frondoor_door_contact
      - binary_sensor.door_livingroom_contact

      # Function
      - input_boolean.function_romantic
      - input_boolean.function_disco

      # Scenes
      - input_boolean.function_cooking
      - input_boolean.function_kay_learning
      - input_boolean.function_dnc
      - switch.momentary_peter_early_up

      - switch.helpers_dinner
      - switch.helpers_daytime
      - switch.helpers_evening
      - switch.helpers_goodnight
      - switch.helpers_chromecast

      # Nest
      - climate.entryway

      # Device trackers
      - input_boolean.helpers_peter_home_homekit
      - input_boolean.helpers_kay_home_homekit

      # Temperature sensors
      - sensor.toilet_temperature
      - sensor.bathroom_temperature
      - sensor.hallway_temperature
      - sensor.livingroom_temperature
      - sensor.bedroom_temperature
      - sensor.kitchen_temperature
      - sensor.diningroom_temperature

      # Wall switches
      - switch.seeling_light_switch
      - switch.sink_light_switch
      - switch.hallway_light_switch
      - switch.toilet_light_switch
      - switch.bedroom_light_switch
      - switch.bathroom_light_switch
      - switch.dressoir_light_switch
      - switch.diningtable_light_switch
      - switch.wall_light_switch
      - switch.window_light_switch
      - switch.balcony_light_switch
      - switch.xmas_tree_wall
      - switch.xmas_1_wall

  entity_config:
    fan.mechanical_ventilation:
      name: "Fan"
      description: "The fan in the bathroom"
      display_categories: FAN

    input_boolean.function_briefing:
      name: "Briefing"

    light.nanoleaf:
      name: "Nanoleaf"
      description: "Incredible nanoleafs"
      display_categories: LIGHT
    light.diningtable_all:
      name: "Diningroom"
      description: "The diningroom table lights"
      display_categories: LIGHT
    light.hallway_all:
      name: "Hallway"
    light.livingroom_all:
      name: "Livingroom"
    light.wall_all:
      name: "Wall"
    light.window_all:
      name: "Window"
    light.tv_sync:
      name: "TV Sync"
    light.bathroom_all:
      name: "Bathroom"
    light.dressoir_all:
      name: "Dressoir"
    light.kitchen_all:
      name: "Kithcen"
    light.cooking_all:
      name: "Cooking"
    light.seeling_all:
      name: "Seeling"
    light.sink_all:
      name: "Sink"
    light.bedroom_all:
      name: "Bedroom"
    light.toilet_all:
      name: "Toilet"
    light.balcony_all:
      name: "Balcony"

    input_boolean.helpers_peter_home_homekit:
      name: "Presence Kay"
      description: "Precense Kay"
      display_categories: MOTION_SENSOR
    input_boolean.helpers_kay_home_homekit:
      name: "Presence Peter"
      description: "Precence Peter"
      display_categories: MOTION_SENSOR

    input_boolean.function_romantic:
      name: "Function Romantic"
      display_categories: SWITCH
      description: "Function for you know what"
    input_boolean.function_disco:
      name: "Function Disco"
      display_categories: SWITCH
      description: "Function when there is a party"
    input_boolean.function_cooking:
      name: "Scene Cooking"
      display_categories: SWITCH
      description: "Scene when we gonna cook"
    input_boolean.function_kay_learning:
      name: "Kay Learning"
      display_categories: SWITCH
      description: "Scene when Kay must learn"
    switch.momentary_peter_early_up:
      name: "Peter Early Up"
      display_categories: SWITCH
      description: "When Peter must ealry to his work. Some automations wont work then"
    input_boolean.function_dnc:
      name: "Disable Nest"
      display_categories: SWITCH
      description: "When we dont wanna auto control of the thermostat"

    switch.xmas_tree_wall:
      name: "Christmas Tree"
    switch.xmas_1_wall:
      name: "Christmas window"


    switch.seeling_light_switch:
      name: "Kitchen switch"
      display_categories: SWITCH
    switch.sink_light_switch:
      name: "Sink switch"
      display_categories: SWITCH
    switch.hallway_light_switch:
      name: "Hallway switch"
      display_categories: SWITCH
    switch.toilet_light_switch:
      name: "Toilet switch"
      display_categories: SWITCH
    switch.bedroom_light_switch:
      name: "Bedroom switch"
      display_categories: SWITCH
    switch.bathroom_light_switch:
      name: "Bathroom switch"
      display_categories: SWITCH
    switch.dressoir_light_switch:
      name: "Dressoir switch"
      display_categories: SWITCH
    switch.diningtable_light_switch:
      name: "Diningroom switch"
      display_categories: SWITCH
    switch.wall_light_switch:
      name: "Wall switch"
      display_categories: SWITCH
    switch.window_light_switch:
      name: "Window switch"
      display_categories: SWITCH
    switch.balcony_light_switch:
      name: "Balcony switch"
      display_categories: SWITCH
    switch.momentary_scene_morning:
      name: "Scene Morning"
      display_categories: SWITCH

    sensor.bedroom_temperature:
      name: "Temp. Bedroom"
      description: "Temperature in the dedroom"
      display_categories: TEMPERATURE_SENSOR
    sensor.bathroom_temperature:
      name: "Temp. Bathroom"
      description: "Temperature in the bathroom"
      display_categories: TEMPERATURE_SENSOR
    sensor.kitchen_temperature:
      name: "Temp. Kitchen"
      description: "Temperature in the kitchen"
      display_categories: TEMPERATURE_SENSOR
    sensor.hallway_temperature:
      name: "Temp. Hallway"
      description: "Temperature in the hallway"
      display_categories: TEMPERATURE_SENSOR
    sensor.diningroom_temperature:
      name: "Temp. Diningroom"
      description: "Temperature in the diningroom"
      display_categories: TEMPERATURE_SENSOR
    sensor.livingroom_temperature:
      name: "Temp Livingroom"
      description: "Temperature in the livingroom"
      display_categories: TEMPERATURE_SENSOR
    sensor.toilet_temperature:
      name: "Temp. Toilet"
      description: "Temperature in the toilet"
      display_categories: TEMPERATURE_SENSOR

    binary_sensor.toilet_detection:
      name: "Motion Toilet"
      description: "Motion sensor in the toilet"
      display_categories: MOTION_SENSOR
    binary_sensor.bathroom_detection:
      name: "Motion Bathroom"
      description: "Motion sensor in the bathroom"
      display_categories: MOTION_SENSOR
    binary_sensor.hallway_detection:
      name: "Motion Hallway"
      description: "Motion sensor in the hallway"
      display_categories: MOTION_SENSOR
    binary_sensor.livingroom_detection:
      name: "Motion Livingroom"
      description: "Motion sensor in the livingroom"
      display_categories: MOTION_SENSOR
    binary_sensor.bedroom_detection:
      name: "Motion Bedroom"
      description: "Motion sensor in the bedroom"
      display_categories: MOTION_SENSOR
    binary_sensor.kitchen_detection:
      name: "Motion Kitchen"
      description: "Motion sensor in the kitchen"
      display_categories: MOTION_SENSOR
    binary_sensor.diningroom_detection:
      name: "Motion Diningroom"
      description: "Motion sensor in the diningroom"
      display_categories: MOTION_SENSOR

@frankfrommelt
Copy link

Hi,
you have to exclude entities as well.

First exclude what you don't want to have, then include what you want.

Your config should look something like that (not perfect but works for me) :

#Alexa:
smart_home:
locale: de-DE
filter:
exclude_domains:
- alarm_control_panel
- alert
- automation
- camera
- climate
- cover # Rollos und Garagentore
- fan
- group
- input_boolean
- binary_sensor
# - light
- media_player
- scene
# - script
- sensor
- switch
- input_number
include_entities:
# Localtuya
- switch.escooter
- switch.batterie_ladegerat
- switch.pool_pumpe
- switch.lufter
- switch.vorgartenlicht_switch
- switch.supie_switch
# Fernseher
- media_player.lg_webos_tv_uk7550lla
# Raumtemperatur
#- sensor.hmip_draussen_actual_temperature
- sensor.hmip_flur_actual_temperature
- sensor.hmip_teicht_actual_temperature
- sensor.dl_actual_temperature
#- sensor.blink_vogelhaus_temperature
#- sensor.palmenheizung_temperature
#- sensor.trockner2_temperatur
# Aussentemperatur
- sensor.weather_station_outtemp_c
# Staubsauger
- vacuum.dobby
- light.baum
- light.blutenkette
exclude_entities:
# Tuya direkt über die Smartlife Integration
- light.tageslicht_2
- light.badlicht
- light.kette_1
- switch.pool_switch_1
- switch.pool_switch_2
- switch.escooter_socket_1
- switch.batterie_socket_1
- switch.fritz_trockner
- switch.fritz_waschmaschine
- switch.fritz_fritz_kaffeemaschine
exclude_entity_globs:
- switch.fritzbox_*
- cover.garage_*
- switch.hmip_garage_*
include_entity_globs:
- switch.steckerleiste_*
- switch.virtual_*
- light.virtual_*
- cover.2
- switch.hmip

- switch.tasmo_*
- climate.thermo
- climate.heizgruppe

# AVM Fritz!
- switch.fritz_*
# Zha Gruppen
- light.silicon_*
# Scripte -> Szenen in Alexa
- script.*
- sensor.air_*
- light._switch
- light.
_light
- light._licht
- switch.
_schalter
- light._schalter
#- switch.
_switch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants