Update notifications to discord
This commit is contained in:
parent
be80617ebb
commit
cf5993b791
@ -140,7 +140,6 @@
|
||||
images:
|
||||
- "/config/www/cctv/living_room.mp4"
|
||||
|
||||
|
||||
- id: alarm_away_bedroom
|
||||
alias: '[Alarm] Trigger alarm when not at home (Bedroom)'
|
||||
trigger:
|
||||
@ -326,4 +325,4 @@
|
||||
target:
|
||||
entity_id: switch.siren_alarm
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.siren_switch
|
||||
entity_id: switch.siren_switch
|
||||
|
@ -23,8 +23,9 @@
|
||||
- {{ entity }}
|
||||
{% endfor %}
|
||||
action:
|
||||
- service: notify.mobile_app_iphone
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
title: "Low battery"
|
||||
message: >
|
||||
Low battery
|
||||
{% raw %}{{ device_attr(trigger.entity_id, 'name_by_user') }} has low battery {{ states(trigger.entity_id) }}% {% endraw %}
|
||||
target: [ "1070507369164984372" ]
|
||||
|
@ -11,8 +11,9 @@
|
||||
subtype: device_offline
|
||||
{% endfor %}
|
||||
action:
|
||||
- service: notify.mobile_app_iphone
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
title: "Device unavailable"
|
||||
message: >
|
||||
Device unavailable
|
||||
{% raw %}{{ device_attr(trigger.event.data.device_id, 'name_by_user') }}{% endraw %} is unavailable
|
||||
target: [ "1070507369164984372" ]
|
||||
|
@ -9,8 +9,9 @@
|
||||
- {{ device.entity_id }} # {{ device.name }}
|
||||
{% endfor %}
|
||||
action:
|
||||
- service: notify.mobile_app_iphone
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
title: "Device unavailable"
|
||||
message: >
|
||||
Device unavailable
|
||||
{% raw %}{{ device_attr(device_id(trigger.event.data.device_id), 'name_by_user') }}{% endraw %} is unavailable
|
||||
target: [ "1070507369164984372" ]
|
||||
|
Loading…
Reference in New Issue
Block a user