mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-29 20:27:00 +00:00
fix
This commit is contained in:
parent
1f76e677fb
commit
6a5507596e
@ -150,6 +150,7 @@ Finally, create an automation that updates the sensors and notifies you. Example
|
|||||||
Update the SQL sensor entity IDs to match your setup.
|
Update the SQL sensor entity IDs to match your setup.
|
||||||
{% endnote %}
|
{% endnote %}
|
||||||
|
|
||||||
|
{% raw %}
|
||||||
```yaml
|
```yaml
|
||||||
alias: "Notify: Low solar production modules"
|
alias: "Notify: Low solar production modules"
|
||||||
triggers:
|
triggers:
|
||||||
@ -158,7 +159,6 @@ triggers:
|
|||||||
conditions: []
|
conditions: []
|
||||||
actions:
|
actions:
|
||||||
- action: homeassistant.update_entity
|
- action: homeassistant.update_entity
|
||||||
metadata: {}
|
|
||||||
data:
|
data:
|
||||||
entity_id:
|
entity_id:
|
||||||
- sensor.solaredge_low_production_modules_east
|
- sensor.solaredge_low_production_modules_east
|
||||||
@ -170,7 +170,6 @@ actions:
|
|||||||
states('sensor.solaredge_low_production_modules_west') != '' }}
|
states('sensor.solaredge_low_production_modules_west') != '' }}
|
||||||
then:
|
then:
|
||||||
- action: persistent_notification.create
|
- action: persistent_notification.create
|
||||||
metadata: {}
|
|
||||||
data:
|
data:
|
||||||
message: >-
|
message: >-
|
||||||
East: {{ states('sensor.solaredge_low_production_modules_east') |
|
East: {{ states('sensor.solaredge_low_production_modules_east') |
|
||||||
@ -182,6 +181,7 @@ actions:
|
|||||||
notification_id: solaredge_modules_low_production_alert
|
notification_id: solaredge_modules_low_production_alert
|
||||||
mode: single
|
mode: single
|
||||||
```
|
```
|
||||||
|
{% endraw %}
|
||||||
|
|
||||||
## Removing the integration
|
## Removing the integration
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user