Using ATTR_FRIENDLY_NAME in updater component.

pull/627/head
Ryan Kraus 2015-11-15 17:32:05 -05:00
parent c314101dde
commit 243130c133
1 changed files with 1 additions and 1 deletions

View File

@ -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)