Trying to write an automation that will notify me if the inverter sensor voltage changes from 0 , ie if the grid power comes back on.
I get a message malformed message.
alias: Power on text
description: āā
trigger:
- platform: state
entity_id:- sensor.solis_meter_item_a_volt
from: 0
for:
hours: 0
minutes: 1
seconds: 0
condition:
action:
- sensor.solis_meter_item_a_volt
- service: notify.whatsapp
data:
message:Power is on
mode: single
Going to try this as well:
alias: Power on v7 (April)
description: āā
trigger:
- platform: state
entity_id:- sensor.solis_meter_item_a_current
from: ā0ā
to: null
for:
hours: 0
minutes: 1
seconds: 0
condition:
action:
- sensor.solis_meter_item_a_current
- service: notify.whatsapp
metadata: {}
data:
message: Power on
mode: single