mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Include HA version in update available example (#10257)
* Include HA version in update available example
* 🚑 Fix build error
This commit is contained in:
parent
bc3da90247
commit
a2820d0dc3
@ -56,6 +56,7 @@ It is possible to report the integrations that you are using to the Home Assista
|
||||
|
||||
For an added bonus, an automation integration can be created to send a message with a notifier when that state of this component's entity changes.
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
automation:
|
||||
@ -68,5 +69,6 @@ automation:
|
||||
action:
|
||||
- service: notify.notify
|
||||
data:
|
||||
message: 'Update for Home Assistant is available.'
|
||||
message: "Home Assistant {{ state_attr('binary_sensor.updater', 'newest_version') }} is available."
|
||||
```
|
||||
{% endraw %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user