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 ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
automation: automation:
alias: "Update Available Notification" - alias: "Update Available Notification"
trigger: trigger:
- platform: state - platform: state
entity_id: binary_sensor.updater entity_id: binary_sensor.updater
from: "off" from: "off"
to: "on" to: "on"
action: action:
- service: notify.notify - service: notify.notify
data: data:
message: "Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }} is available." message: "Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }} is available."
``` ```
{% endraw %} {% endraw %}