mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-28 07:17:36 +00:00
1.3 KiB
1.3 KiB
title | description | ha_category | ha_release | ha_iot_class | ha_quality_scale | ha_codeowners | ha_domain | ha_platforms | |||
---|---|---|---|---|---|---|---|---|---|---|---|
Updater | Detecting when Home Assistant updates are available. |
|
0.8 | Cloud Polling | internal |
|
updater |
|
The updater
binary sensor will check daily for new releases. The state will be "on" when an update is available. Otherwise, the state will be "off". The newer version, as well as the link to the release notes, are attributes of the updater.
Configuration
This integration is by default enabled, unless you've disabled or removed the default_config:
line from your configuration. If that is the case, the following example shows you how to enable this integration manually:
updater:
Notification
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 %}
# 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."
{% endraw %}