mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +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.
|
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
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
automation:
|
automation:
|
||||||
@ -68,5 +69,6 @@ automation:
|
|||||||
action:
|
action:
|
||||||
- service: notify.notify
|
- service: notify.notify
|
||||||
data:
|
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