mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-11-03 19:28:43 +00:00
Beatify telegram notifications
This commit is contained in:
@@ -67,7 +67,8 @@ automation:
|
||||
action:
|
||||
- service: script.telegram_say
|
||||
data:
|
||||
message: "Device marked as home. Waiting for door to open!"
|
||||
title: "*Presence - Arrival detection*"
|
||||
message: "🏠 Device marked as home. Waiting for door to open!"
|
||||
- wait_template: "{{ is_state('binary_sensor.front_door_on_off', 'on') }}"
|
||||
continue_on_timeout: false
|
||||
timeout: 00:15:00
|
||||
@@ -75,7 +76,8 @@ automation:
|
||||
entity_id: input_boolean.georgi_home
|
||||
- service: script.telegram_say
|
||||
data:
|
||||
message: "Hey, I've marked you as home now!"
|
||||
title: "*Presence - Arrival detection*"
|
||||
message: "✅ Hey, I've marked you as home now!"
|
||||
|
||||
- id: leaving_home
|
||||
alias: Presence - Leaving home
|
||||
|
||||
@@ -41,6 +41,7 @@ script:
|
||||
script.sonos_blast
|
||||
{% endif %}
|
||||
data_template:
|
||||
title: "💬 *Speech Module*" # For telegram only
|
||||
message: "{{ message }}"
|
||||
|
||||
telegram_say:
|
||||
@@ -48,6 +49,7 @@ script:
|
||||
sequence:
|
||||
- service: notify.telegram
|
||||
data_template:
|
||||
title: "{{ title }}"
|
||||
message: "{{ message }}"
|
||||
|
||||
sonos_blast:
|
||||
|
||||
Reference in New Issue
Block a user