Edit updater component to match PR #25418 (#9957)

* Edit updater component to match PR #25418

* Make this a binary sensor

* ✏️ Tweak

* ✏️ Tweak
This commit is contained in:
Santobert 2019-08-13 01:45:28 +02:00 committed by Franck Nijhof
parent 00431e9a4c
commit d4c06b2fc7

View File

@ -3,14 +3,14 @@ title: "Updater"
description: "Detecting when Home Assistant updates are available." description: "Detecting when Home Assistant updates are available."
logo: home-assistant.png logo: home-assistant.png
ha_category: ha_category:
- Other - binary_sensor
ha_qa_scale: internal ha_qa_scale: internal
ha_release: 0.8 ha_release: 0.8
--- ---
The `updater` integration will check daily for new releases. It will show a badge in the frontend if a new version is found. As [Hass.io](/hassio/) has its own schedule for release it doesn't make sense to use this integration on Hass.io. 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. As [Hass.io](/hassio/) has its own schedule for release it doesn't make sense to use this binary sensor on Hass.io.
The updater integration will also collect basic information about the running Home Assistant instance and its environment. The information includes the current Home Assistant version, the time zone, Python version and operating system information. No identifiable information (i.e., IP address, GPS coordinates, etc.) will ever be collected. If you are concerned about your privacy, you are welcome to scrutinize the Python [source code](https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/updater.py#L91). The updater will also collect basic information about the running Home Assistant instance and its environment. The information includes the current Home Assistant version, the time zone, Python version and operating system information. No identifiable information (i.e., IP address, GPS coordinates, etc.) will ever be collected. If you are concerned about your privacy, you are welcome to scrutinize the Python [source code](https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/updater.py#L91).
## Configuration ## Configuration
@ -59,12 +59,14 @@ For an added bonus, an automation integration can be created to send a message w
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
automation: automation:
alias: 'Update Available Notifications' alias: Update Available Notification
trigger: trigger:
platform: state - platform: state
entity_id: updater.updater entity_id: binary_sensor.updater
from: 'off'
to: 'on'
action: action:
service: notify.notify - service: notify.notify
data: data:
message: 'Update for Home Assistant is available.' message: 'Update for Home Assistant is available.'
``` ```