From 243130c133b190577dc8e9f579b012bdcf62bda2 Mon Sep 17 00:00:00 2001 From: Ryan Kraus Date: Sun, 15 Nov 2015 17:32:05 -0500 Subject: [PATCH] Using ATTR_FRIENDLY_NAME in updater component. --- homeassistant/components/updater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/updater.py b/homeassistant/components/updater.py index e6ba6d09c46..817c9507499 100644 --- a/homeassistant/components/updater.py +++ b/homeassistant/components/updater.py @@ -30,7 +30,7 @@ def setup(hass, config): if newest != CURRENT_VERSION and newest is not None: hass.states.set( - ENTITY_ID, newest, {'friendly_name': 'Update Available'}) + ENTITY_ID, newest, {'ATTR_FRIENDLY_NAME': 'Update Available'}) event.track_time_change(hass, check_newest_version, hour=[0, 12], minute=0, second=0)