mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
Added documentation for updater component
This commit is contained in:
parent
2e0c25a7ef
commit
c6727cab67
30
source/_components/updater.markdown
Normal file
30
source/_components/updater.markdown
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
---
|
||||||
|
layout: component
|
||||||
|
title: "Updater"
|
||||||
|
description: "Detecting when Home Assistant updates are available."
|
||||||
|
date: 2015-11-15 20:40
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
ha_category: Other
|
||||||
|
---
|
||||||
|
|
||||||
|
The updater component will detect when the newest published version of Home
|
||||||
|
Assistant does not match the currently installed version. When running,
|
||||||
|
it will check for new releases at startup and everyday at noon and midnight.
|
||||||
|
|
||||||
|
For an added bonus, an automation component can be created to send a message
|
||||||
|
with a notifier when that state of this component's entity changes.
|
||||||
|
|
||||||
|
``` yaml
|
||||||
|
automation:
|
||||||
|
alias: 'Update Available Notifications'
|
||||||
|
trigger:
|
||||||
|
platform: state
|
||||||
|
entity_id: updater.updater
|
||||||
|
action:
|
||||||
|
service: notify.notify
|
||||||
|
data:
|
||||||
|
message: 'Home Assistant update is available.'
|
||||||
|
```
|
Loading…
x
Reference in New Issue
Block a user