minor updates.

This commit is contained in:
Mahasri Kalavala
2020-09-07 22:02:44 -04:00
parent c05ee5aefb
commit 55880380a0
7 changed files with 92 additions and 49 deletions

View File

@@ -38,6 +38,8 @@ homeassistant:
unit_of_measurement: "count"
input_label.motion_sensor_158d000272bed1:
unit_of_measurement: "count"
input_label.motion_sensor_158d00047b6f69:
unit_of_measurement: "count"
input_label.motion_sensor_158d000272bf48:
unit_of_measurement: "count"
input_label.motion_sensor_158d000272bfd7:
@@ -84,37 +86,41 @@ input_label:
name: Kitchen Motion
icon: mdi:run-fast
motion_sensor_158d00016c2d0e:
name: Dining Room Motion (X)
name: Dining Room Motion (Xiaomi)
icon: mdi:run-fast
motion_sensor_158d00016db6d2:
name: Study Room Motion (X)
name: Front Room Motion (Xiaomi)
icon: mdi:run-fast
motion_sensor_158d0001a25041:
name: Family Room (X)
name: Family Room (Xiaomi)
icon: mdi:run-fast
motion_sensor_158d0001a662fe:
name: Kitchen (X)
name: Kitchen (Xiaomi)
icon: mdi:run-fast
motion_sensor_158d00024e57d3:
name: Master Bedroom (X)
name: Master Bedroom (Xiaomi)
icon: mdi:run-fast
motion_sensor_158d00024e57fb:
name: Driveway Motion (X)
name: Driveway Motion (Xiaomi)
icon: mdi:run-fast
motion_sensor_158d00024e842c:
name: Backyard Motion (X)
name: Backyard Motion (Xiaomi)
icon: mdi:run-fast
motion_sensor_158d00024ee084:
name: Front Door Motion (X)
name: Front Door Motion (Xiaomi)
icon: mdi:run-fast
motion_sensor_158d000272bed1:
name: Srinika Bedroom (X)
name: Srinika Bedroom (Xiaomi)
icon: mdi:run-fast
motion_sensor_158d00047b6f69:
name: Hasika Bedroom (Xiaomi)
icon: mdi:run-fast
motion_sensor_158d000272bf48:
name: Garage Motion (X)
name: Garage Motion (Xiaomi)
icon: mdi:run-fast
motion_sensor_158d000272bfd7:
name: Office Room Motion (X)
name: Office Room Motion (Xiaomi)
icon: mdi:run-fast
single_car_garage_door_tilt_sensor_sensor:
@@ -155,6 +161,7 @@ automation:
- binary_sensor.motion_sensor_158d00024e842c
- binary_sensor.motion_sensor_158d00024ee084
- binary_sensor.motion_sensor_158d000272bed1
- binary_sensor.motion_sensor_158d00047b6f69
- binary_sensor.motion_sensor_158d000272bf48
- binary_sensor.motion_sensor_158d000272bfd7
- binary_sensor.single_car_garage_door_tilt_sensor_sensor
@@ -197,6 +204,7 @@ automation:
- input_label.motion_sensor_158d00024e842c
- input_label.motion_sensor_158d00024ee084
- input_label.motion_sensor_158d000272bed1
- input_label.motion_sensor_158d00047b6f69
- input_label.motion_sensor_158d000272bf48
- input_label.motion_sensor_158d000272bfd7
- input_label.single_car_garage_door_tilt_sensor_sensor

View File

@@ -40,6 +40,10 @@ notify:
platform: file
filename: debug.log
- name: telegram
platform: telegram
chat_id: !secret telegram_chatid
tts:
- platform: amazon_polly
aws_access_key_id: !secret aws_access_key_id
@@ -48,8 +52,18 @@ tts:
text_type: ssml
voice: Joanna
#
# Telegram Configuration
#
telegram_bot:
# Setup Broadcast for sending messages
- platform: broadcast
api_key: !secret telegram_apikey
allowed_chat_ids:
- !secret telegram_chatid
# Add Polling
- platform: polling
api_key: !secret telegram_apikey
allowed_chat_ids:
- !secret telegram_chatid

View File

@@ -121,6 +121,7 @@ script:
data_template:
entity_id: >
{%- for state in states.switch if
state.entity_id != 'switch.3d_printer' and
state.entity_id != 'switch.wemoswitch1' and
state.entity_id != 'switch.wallmote_switch' and
state.entity_id != 'switch.wemobackyardlightswitch' and
@@ -308,6 +309,9 @@ script:
- service: script.ifttt_notify
data_template:
message: "{{ message }}"
- service: notify.telegram
data_template:
message: "{{ message }}"
good_night_tts:
sequence:

View File

@@ -14,9 +14,9 @@ homeassistant:
friendly_name: Family Room Luminance (xiaomi)
binary_sensor.motion_sensor_158d00016db6d2:
friendly_name: Study Room Motion Sensor (Xiaomi)
friendly_name: Front Room Motion Sensor (Xiaomi)
sensor.Illumination_158d00016db6d2:
friendly_name: Study Room Luminance (Xiaomi)
friendly_name: Front Room Luminance (Xiaomi)
binary_sensor.motion_sensor_158d00016c2d0e:
friendly_name: Dining Room Motion Sensor (Xiaomi)
@@ -58,6 +58,11 @@ homeassistant:
sensor.illumination_158d000272bed1:
friendly_name: Srinika's Bedroom Liminance (Xiaomi)
binary_sensor.motion_sensor_158d00047b6f69:
friendly_name: Hasika's Bedroom Motion Sensor (Xiaomi)
sensor.illumination_158d00047b6f69:
friendly_name: Hasika's Bedroom Liminance (Xiaomi)
sensor.Illumination_34ce008ad65d:
friendly_name: Hallway Luminance (Xiaomi Aqara)