5 changed files with 47 additions and 2 deletions
@ -0,0 +1,13 @@
|
||||
- id: sopine_ac_status |
||||
alias: SOPine AC Status |
||||
trigger: |
||||
- platform: state |
||||
entity_id: sensor.sopine_ac |
||||
action: |
||||
- service: notify.smtp_notifications |
||||
data: |
||||
title: "SOPine AC Power Status Changed" |
||||
message: "AC Status: {{ is_state('sensor.sopine_ac_present', 'True') }}" |
||||
- service: notify.matrix_notifications |
||||
data: |
||||
message: "SOPine AC Power Status: {{ is_state('sensor.sopine_ac_present', 'True') }}" |
@ -0,0 +1,13 @@
|
||||
- id: ups_ac_status |
||||
alias: UPS AC Status |
||||
trigger: |
||||
- platform: state |
||||
entity_id: sensor.ups_status |
||||
action: |
||||
- service: notify.smtp_notifications |
||||
data: |
||||
title: "UPS AC Power Status Changed" |
||||
message: "AC Status: {{ is_state('sensor.ups_status', 'ONLINE') }}" |
||||
- service: notify.matrix_notifications |
||||
data: |
||||
message: "UPS AC Power Status: {{ is_state('sensor.ups_status', 'ONLINE') }}" |
Loading…
Reference in new issue