Update notifications to discord
This commit is contained in:
parent
be80617ebb
commit
cf5993b791
@ -140,7 +140,6 @@
|
|||||||
images:
|
images:
|
||||||
- "/config/www/cctv/living_room.mp4"
|
- "/config/www/cctv/living_room.mp4"
|
||||||
|
|
||||||
|
|
||||||
- id: alarm_away_bedroom
|
- id: alarm_away_bedroom
|
||||||
alias: '[Alarm] Trigger alarm when not at home (Bedroom)'
|
alias: '[Alarm] Trigger alarm when not at home (Bedroom)'
|
||||||
trigger:
|
trigger:
|
||||||
|
@ -23,8 +23,9 @@
|
|||||||
- {{ entity }}
|
- {{ entity }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
action:
|
action:
|
||||||
- service: notify.mobile_app_iphone
|
- service: notify.home_assistant
|
||||||
data:
|
data:
|
||||||
title: "Low battery"
|
|
||||||
message: >
|
message: >
|
||||||
|
Low battery
|
||||||
{% raw %}{{ device_attr(trigger.entity_id, 'name_by_user') }} has low battery {{ states(trigger.entity_id) }}% {% endraw %}
|
{% 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
|
subtype: device_offline
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
action:
|
action:
|
||||||
- service: notify.mobile_app_iphone
|
- service: notify.home_assistant
|
||||||
data:
|
data:
|
||||||
title: "Device unavailable"
|
|
||||||
message: >
|
message: >
|
||||||
|
Device unavailable
|
||||||
{% raw %}{{ device_attr(trigger.event.data.device_id, 'name_by_user') }}{% endraw %} is 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 }}
|
- {{ device.entity_id }} # {{ device.name }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
action:
|
action:
|
||||||
- service: notify.mobile_app_iphone
|
- service: notify.home_assistant
|
||||||
data:
|
data:
|
||||||
title: "Device unavailable"
|
|
||||||
message: >
|
message: >
|
||||||
|
Device unavailable
|
||||||
{% raw %}{{ device_attr(device_id(trigger.event.data.device_id), 'name_by_user') }}{% endraw %} is 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