alexa filter and scripts

This commit is contained in:
Christian Kauer 2021-11-14 19:05:58 +01:00
parent be7ec3495f
commit 6c0b96c60e
5 changed files with 88 additions and 2 deletions

View File

@ -1,3 +1,52 @@
# https://www.home-assistant.io/integrations/alexa.smart_home/#test-the-lambda-function
# Amazon Alexa Smart Home Skill
# https://www.home-assistant.io/integrations/alexa.smart_home/
# https://github.com/home-assistant/core/tree/dev/homeassistant/components/alexa
# Amazon Alexa Custom Skill
# https://www.home-assistant.io/integrations/alexa.intent/
alexa:
smart_home:
smart_home:
locale: de-DE
#endpoint: https://api.amazonalexa.com/v3/events
#client_id: YOUR_SKILL_CLIENT_ID # https://www.home-assistant.io/integrations/alexa.smart_home/#proactive-events
#client_secret: YOUR_SKILL_CLIENT_SECRET
filter:
# exclude_domains:
# - light
include_entities:
# scripts
- script.good_morning
- script.good_night
- script.back_home_again
- script.tv_time
- script.homeoffice_time
- script.leaving_home
# lighs
- light.attic_ceiling_spots
- light.wohnzimmerlichter
- light.esszimmerlichter
- light.licht_esszimmer_tisch
- light.kitchenlights
- light.stricklicht
- switch.tannenbaum
# entity_config:
# switch.tannenbaum:
# - light.kitchen
# - light.kitchen_left
# include_entity_globs:
# - binary_sensor.*_motion
# include_domains:
# - switch
# exclude_entities:
# - switch.outside
# entity_config:
# light.kitchen:
# name: "Custom Name for Alexa"
# description: "The light in the kitchen"
# switch.stairs:
# display_categories: LIGHT

View File

@ -0,0 +1,10 @@
# https://www.home-assistant.io/integrations/script
alias: Skript Wieder da
sequence:
- service: scene.turn_on
target:
entity_id: scene.home_office
- delay: "00:30:00"
- service: script.sonos_group_livingroom
data: {}
mode: single

View File

@ -0,0 +1,10 @@
# https://www.home-assistant.io/integrations/script
alias: Skript Home Office
sequence:
- service: scene.turn_on
target:
entity_id: scene.home_office
- delay: "00:30:00"
- service: script.sonos_group_livingroom
data: {}
mode: single

View File

@ -0,0 +1,7 @@
# https://www.home-assistant.io/integrations/script
alias: Skript Wir sind weg
sequence:
- service: scene.turn_on
target:
entity_id: scene.schalfenszeit
mode: single

10
scripts/tv_time.yaml Normal file
View File

@ -0,0 +1,10 @@
# https://www.home-assistant.io/integrations/script
alias: Skript TV-Zeit
sequence:
- service: scene.turn_on
target:
entity_id: scene.attic_tv_time
- delay: "00:30:00"
- service: script.sonos_group_livingroom
data: {}
mode: single