mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
typo : add dash to alias" in notification example (#18022)
This commit is contained in:
parent
b50e3c7e2f
commit
9a16f903d3
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user