mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-03 09:38:59 +00:00
1.4 KiB
1.4 KiB
title, description, ha_category, ha_release, ha_iot_class, ha_quality_scale, ha_codeowners, ha_domain, ha_platforms, ha_integration_type
title | description | ha_category | ha_release | ha_iot_class | ha_quality_scale | ha_codeowners | ha_domain | ha_platforms | ha_integration_type | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Updater | Detecting when Home Assistant updates are available. |
|
0.8 | Cloud Polling | internal |
|
updater |
|
integration |
This integration is deprecated and will be removed in Home Assistant Core 2022.5.
Similar functionality is available using the Version integration.
The updater
binary sensor will check daily for new releases of the Home
Assistant Core. 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
# Example configuration.yaml entry
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 %}