Skip to content

Commit

Permalink
Tuning some notifications to get pushed to Syno Chat and adding attri…
Browse files Browse the repository at this point in the history
…butes #5
  • Loading branch information
conorsham committed Jun 30, 2021
1 parent 6a81e72 commit 8484324
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion automations/front-door-sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ condition: []
action:
- service: script.notify_engine
data:
who: 'parents'
who: 'family'
title: '🚪*Front door*'
value1: 'Front door is open! Outside temperature is {{state_attr("weather.accuweather", "temperature")}}°C'
tag_id: 'warning'
group: home
color: '#ff0000'
target_id: !secret telegram_bot_chat_id
- service: script.notify_engine
data:
Expand Down
6 changes: 4 additions & 2 deletions automations/lights/living_room_motion_none_home.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ condition:
action:
- service: script.notify_engine
data:
who: 'parents'
who: 'family'
value1: "Living room motion and none at home!"
tag_id: 'emergency'
tag_id: 'warning'
group: home
color: '#ff0000'
target_id: !secret telegram_bot_chat_id
- data:
entity_id: media_player.display_me
Expand Down
4 changes: 3 additions & 1 deletion automations/utilities/washing_machine_end.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ trigger:
action:
- service: script.notify_engine
data:
who: 'parents'
who: 'family'
title: '♨ *Washing done*'
value1: 'Washing machine is done. Open the door.'
tag_id: 'information'
sticky: 'true'
group: home
color: '#ff0000'
target_id: !secret telegram_bot_chat_id
- service: input_boolean.turn_off
data: {}
Expand Down
1 change: 1 addition & 0 deletions entities/groups/family.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ family:
- person.mirta
- person.luka
- person.zita
-

0 comments on commit 8484324

Please sign in to comment.