-
Notifications
You must be signed in to change notification settings - Fork 4
Sample Automations
alienatedsec edited this page Apr 7, 2023
·
5 revisions
The below is useful if there is no Solis Cloud connectivity and you want to be informed about all alarms raised by the inverter. Thanks to @kyuzumaki for the idea around the app notifications.
alias: Inverter Status
description: ""
trigger:
- platform: state
entity_id:
- sensor.solislan_inverter_status
condition: []
action:
- service: telegram_bot.send_message
data:
title: INVERTER STATUS CHANGED
message: Inverter status is {{ states ('sensor.solislan_inverter_status') }}
- device_id: [your device ID - e.g., the one assigned to your iPhone]
domain: mobile_app
type: notify
message: "{{ states ('sensor.solislan_inverter_status') }}"
title: Inverter Status Changed
- service: notify.persistent_notification
data:
message: "{{states('sensor.solislan_inverter_status')}}"
title: Inverter Status Changed
mode: single