From db82124e34bdec94d440edc1a30adf5e8e951dad Mon Sep 17 00:00:00 2001 From: Tobias Haase Date: Tue, 23 Jul 2019 13:28:52 +0200 Subject: [PATCH 1/4] Edit updater component to match PR #25418 --- source/_components/updater.markdown | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/_components/updater.markdown b/source/_components/updater.markdown index 3b5f99d0709b..f31f383d951b 100644 --- a/source/_components/updater.markdown +++ b/source/_components/updater.markdown @@ -8,7 +8,7 @@ ha_qa_scale: internal 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` integration 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 component. As [Hass.io](/hassio/) has its own schedule for release it doesn't make sense to use this integration 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). @@ -59,12 +59,14 @@ For an added bonus, an automation integration can be created to send a message w ```yaml # Example configuration.yaml entry automation: - alias: 'Update Available Notifications' + alias: Update Available Notification trigger: - platform: state + - platform: state entity_id: updater.updater + from: 'off' + to: 'on' action: - service: notify.notify + - service: notify.notify data: message: 'Update for Home Assistant is available.' ``` From a063973b5e2efd5b2fce220549a882bb68f39cbf Mon Sep 17 00:00:00 2001 From: Tobias Haase Date: Fri, 2 Aug 2019 00:17:23 +0200 Subject: [PATCH 2/4] Make this a binary sensor --- source/_components/updater.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/_components/updater.markdown b/source/_components/updater.markdown index f31f383d951b..72c1c4435c5e 100644 --- a/source/_components/updater.markdown +++ b/source/_components/updater.markdown @@ -3,14 +3,14 @@ title: "Updater" description: "Detecting when Home Assistant updates are available." logo: home-assistant.png ha_category: - - Other + - binary_sensor ha_qa_scale: internal ha_release: 0.8 --- -The `updater` integration 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 component. 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 @@ -62,7 +62,7 @@ automation: alias: Update Available Notification trigger: - platform: state - entity_id: updater.updater + entity_id: binary_sensor.updater from: 'off' to: 'on' action: From 8e9d1c44c0470592901f27f710c54602b9a614cb Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Fri, 2 Aug 2019 11:59:14 +0200 Subject: [PATCH 3/4] :pencil2: Tweak --- source/_components/updater.markdown | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/_components/updater.markdown b/source/_components/updater.markdown index 72c1c4435c5e..4c184009f379 100644 --- a/source/_components/updater.markdown +++ b/source/_components/updater.markdown @@ -61,12 +61,12 @@ For an added bonus, an automation integration can be created to send a message w automation: alias: Update Available Notification trigger: - - platform: state - entity_id: binary_sensor.updater - from: 'off' - to: 'on' + - platform: state + entity_id: binary_sensor.updater + from: 'off' + to: 'on' action: - - service: notify.notify - data: - message: 'Update for Home Assistant is available.' + - service: notify.notify + data: + message: 'Update for Home Assistant is available.' ``` From 45555cb611267a5fd2cb35048948e02176310ffc Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 13 Aug 2019 01:43:12 +0200 Subject: [PATCH 4/4] :pencil2: Tweak --- source/_components/updater.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/updater.markdown b/source/_components/updater.markdown index 4c184009f379..ab4f81cc2d5a 100644 --- a/source/_components/updater.markdown +++ b/source/_components/updater.markdown @@ -8,7 +8,7 @@ ha_qa_scale: internal ha_release: 0.8 --- -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` 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 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).