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:
|
action:
|
||||||
- service: script.telegram_say
|
- service: script.telegram_say
|
||||||
data:
|
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') }}"
|
- wait_template: "{{ is_state('binary_sensor.front_door_on_off', 'on') }}"
|
||||||
continue_on_timeout: false
|
continue_on_timeout: false
|
||||||
timeout: 00:15:00
|
timeout: 00:15:00
|
||||||
@@ -75,7 +76,8 @@ automation:
|
|||||||
entity_id: input_boolean.georgi_home
|
entity_id: input_boolean.georgi_home
|
||||||
- service: script.telegram_say
|
- service: script.telegram_say
|
||||||
data:
|
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
|
- id: leaving_home
|
||||||
alias: Presence - Leaving home
|
alias: Presence - Leaving home
|
||||||
|
|||||||
@@ -41,6 +41,7 @@ script:
|
|||||||
script.sonos_blast
|
script.sonos_blast
|
||||||
{% endif %}
|
{% endif %}
|
||||||
data_template:
|
data_template:
|
||||||
|
title: "💬 *Speech Module*" # For telegram only
|
||||||
message: "{{ message }}"
|
message: "{{ message }}"
|
||||||
|
|
||||||
telegram_say:
|
telegram_say:
|
||||||
@@ -48,6 +49,7 @@ script:
|
|||||||
sequence:
|
sequence:
|
||||||
- service: notify.telegram
|
- service: notify.telegram
|
||||||
data_template:
|
data_template:
|
||||||
|
title: "{{ title }}"
|
||||||
message: "{{ message }}"
|
message: "{{ message }}"
|
||||||
|
|
||||||
sonos_blast:
|
sonos_blast:
|
||||||
|
|||||||
Reference in New Issue
Block a user