typo : add dash to alias" in notification example (#18022)

This commit is contained in:
Kamahat 2021-05-31 14:24:21 +02:00 committed by GitHub
parent b50e3c7e2f
commit 9a16f903d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,16 +32,16 @@ For an added bonus, an automation integration can be created to send a message w
```yaml
# Example configuration.yaml entry
automation:
alias: "Update Available Notification"
trigger:
- platform: state
entity_id: binary_sensor.updater
from: "off"
to: "on"
action:
- service: notify.notify
data:
message: "Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }} is available."
- alias: "Update Available Notification"
trigger:
- platform: state
entity_id: binary_sensor.updater
from: "off"
to: "on"
action:
- service: notify.notify
data:
message: "Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }} is available."
```
{% endraw %}