Alexa support

This commit is contained in:
monster
2019-02-01 10:50:57 +03:00
parent 41411f38ee
commit d52f3b6e56
7 changed files with 80 additions and 11 deletions
+1 -3
View File
@@ -11,9 +11,6 @@ homeassistant:
api: api:
alexa:
smart_home:
http: http:
api_password: !secret ha_password api_password: !secret ha_password
base_url: !secret base_url base_url: !secret base_url
@@ -38,6 +35,7 @@ logbook:
# Components # Components
automation: !include_dir_merge_list configuration/automation automation: !include_dir_merge_list configuration/automation
apple_tv: !include_dir_merge_list configuration/appletv apple_tv: !include_dir_merge_list configuration/appletv
alexa: !include configuration/amazon/alexa.yaml
alarm_control_panel: !include_dir_merge_list configuration/alarm_control_panel alarm_control_panel: !include_dir_merge_list configuration/alarm_control_panel
binary_sensor: !include_dir_merge_list configuration/binary_sensor binary_sensor: !include_dir_merge_list configuration/binary_sensor
camera: !include_dir_merge_list configuration/camera camera: !include_dir_merge_list configuration/camera
@@ -0,0 +1,74 @@
smart_home:
endpoint: https://api.amazonalexa.com/v3/events
client_id: !secret alexa_client_id
client_secret: !secret alexa_client_secret
filter:
include_domains:
- alarm_control_panel
- switch
- light
- vacuum
- cover
- climate
include_entities:
- sensor.humidity_158d0001149b3c
- sensor.humidity_158d000117d37a
- sensor.humidity_158d00012d9ad7
- sensor.humidity_158d000149c128
- sensor.temperature_158d0001149b3c
- sensor.temperature_158d000117d37a
- sensor.temperature_158d00012d9ad7
- sensor.temperature_158d000149c128
exclude_entities:
- switch.plug_158d00010dd98d
- switch.xiaomi_miio_switch
- light.gateway_light_f0b429aa1463
- light.balcony
- switch.domofon_mode
- switch.domofon_open
entity_config:
light.bath:
name: bath
light.balcony:
name: balcony
light.hall:
name: hall
light.kitchen:
name: kitchen
light.yeelight_rgb_286c071065c7:
name: color1
light.yeelight_rgb_34ce008fe328:
name: color2
light.yeelight_white_34ce0087ff33:
name: living3
light.yeelight_white_f0b4290e5444:
name: living4
light.yeelight_white_f0b429a8f6df:
name: living5
sensor.temperature_158d00012d9ad7:
name: "Temperature Bath"
sensor.temperature_158d0001149b3c:
name: "Temperature Living-room"
sensor.temperature_158d000117d37a:
name: "Temperature Balcony"
sensor.temperature_158d000149c128:
name: "Temperature Outside"
climate.livingroom:
name: "Livingroom Climate"
cover.curtain_158d0002b0c46a:
name: Curtain
switch.plug_158d0001104a0c:
name: "TV"
switch.water_valve:
name: "Water valve"
switch.plug_158d0001a4cfb4:
name: Washer
switch.plug_158d0001a68c64:
name: Dishwasher
switch.wifi_socket:
name: "Curtain lights"
switch.plug_158d0001a68b18:
name: Kettle
switch.kitchen_mini_light:
name: "Kitchen Mini Light"
display_categories: LIGHT
@@ -4,5 +4,5 @@ os:
- sensor.processor_use - sensor.processor_use
- sensor.memory_free - sensor.memory_free
- sensor.swap_use_percent - sensor.swap_use_percent
- sensor.disk_use_percent_ - sensor.disk_use_percent
- sensor.ssl_certificate_expiry - sensor.ssl_certificate_expiry
+1 -1
View File
@@ -33,4 +33,4 @@ exclude:
- sensor.ssl_certificate_expiry - sensor.ssl_certificate_expiry
- sensor.swap_use_percent - sensor.swap_use_percent
- sensor.belorechenskaya_eta - sensor.belorechenskaya_eta
- sensor.disk_use_percent_ - sensor.disk_use_percent
@@ -1,5 +0,0 @@
- platform: broadlink
host: 192.168.1.64
mac: 'B4430DCB7276'
type: 'sp2'
friendly_name: 'yolka'
+2
View File
@@ -128,3 +128,5 @@ mosru_paycode: xxxxxxxxx
################################### ###################################
amazon_mail: xxxxxxxxx amazon_mail: xxxxxxxxx
amazon_pass: xxxxxxxxx amazon_pass: xxxxxxxxx
alexa_client_id: xxxxxxxxx
alexa_client_secret: xxxxxxxxx