mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-02 00:06:49 +00:00
51 lines
1.4 KiB
Markdown
51 lines
1.4 KiB
Markdown
---
|
|
title: Updater
|
|
description: Detecting when Home Assistant updates are available.
|
|
ha_category:
|
|
- Binary Sensor
|
|
ha_release: 0.8
|
|
ha_iot_class: Cloud Polling
|
|
ha_quality_scale: internal
|
|
ha_codeowners:
|
|
- '@home-assistant/core'
|
|
ha_domain: updater
|
|
ha_platforms:
|
|
- binary_sensor
|
|
---
|
|
|
|
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
|
|
|
|
This integration is by default enabled, unless you've disabled or removed the [`default_config:`](/integrations/default_config/) line from your configuration. If that is the case, the following example shows you how to enable this integration manually:
|
|
|
|
```yaml
|
|
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 %}
|
|
|
|
```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."
|
|
```
|
|
|
|
{% endraw %}
|