Add notifications to discord
This commit is contained in:
parent
89da0a777c
commit
f6e83c2448
@ -11,6 +11,13 @@
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS started discharging
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
message: >
|
||||
UPS Alert ⚠️
|
||||
UPS started discharging
|
||||
@everyone
|
||||
target: [ "1071801716070154240" ]
|
||||
|
||||
- id: ups-charging
|
||||
alias: '[UPS] Charging'
|
||||
@ -25,6 +32,13 @@
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS is charging
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
message: >
|
||||
UPS Alert ✅
|
||||
UPS is charging
|
||||
@everyone
|
||||
target: [ "1071801716070154240" ]
|
||||
|
||||
- id: ups-power-back
|
||||
alias: '[UPS] Power back'
|
||||
@ -39,6 +53,13 @@
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS power is back
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
message: >
|
||||
UPS Alert ⚠️
|
||||
UPS power is back
|
||||
@everyone
|
||||
target: [ "1071801716070154240" ]
|
||||
|
||||
- id: ups-battery-under-100
|
||||
alias: '[UPS] Battery Under 100%'
|
||||
@ -53,6 +74,13 @@
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS battery is below 100%, estimated time on battery 25 min
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
message: >
|
||||
UPS Alert ⚠️
|
||||
UPS battery is below 100%, estimated time on battery 25 min
|
||||
@everyone
|
||||
target: [ "1071801716070154240" ]
|
||||
|
||||
- id: ups-battery-under-50
|
||||
alias: '[UPS] Battery Under 50%'
|
||||
@ -67,6 +95,13 @@
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS battery is below 50%, estimated time on battery 12 min
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
message: >
|
||||
UPS Alert ⚠️
|
||||
UPS battery is below 50%, estimated time on battery 12 min
|
||||
@everyone
|
||||
target: [ "1071801716070154240" ]
|
||||
|
||||
- id: ups-battery-under-10
|
||||
alias: '[UPS] Battery Under 10%'
|
||||
@ -81,3 +116,10 @@
|
||||
data:
|
||||
title: "UPS Alert"
|
||||
message: UPS battery is below 10%, estimated time on battery 2 min
|
||||
- service: notify.home_assistant
|
||||
data:
|
||||
message: >
|
||||
UPS Alert ⚠️
|
||||
UPS battery is below 10%, estimated time on battery 2 min
|
||||
@everyone
|
||||
target: [ "1071801716070154240" ]
|
||||
|
Loading…
Reference in New Issue
Block a user