mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 22:37:11 +00:00
Added friendly name to updater component.
This commit is contained in:
parent
dfa9880176
commit
4463b69245
@ -27,7 +27,8 @@ def setup(hass, config):
|
||||
newest = get_newest_version()
|
||||
if newest != CURRENT_VERSION and newest is not None:
|
||||
hass.states.set(
|
||||
'{}.Update'.format(DOMAIN), newest)
|
||||
'{}.Update'.format(DOMAIN), newest,
|
||||
{'friendly_name': 'Update Available'})
|
||||
|
||||
event.track_time_change(hass, check_newest_version,
|
||||
hour=12, minute=0, second=0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user