14 lines
470 B
YAML
14 lines
470 B
YAML
- 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') }}"
|