Cleanup component track_point_in_utc_time usage (#6330)

This commit is contained in:
Pascal Vizeli 2017-03-01 16:37:48 +01:00 committed by Paulus Schoutsen
parent 30bed8341a
commit 4e96e461f7
5 changed files with 9 additions and 12 deletions

View file

@ -109,7 +109,7 @@ def setup(hass, config):
return True
finally:
track_point_in_utc_time(hass, update, now + interval)
track_point_in_utc_time(hass, update, utcnow() + interval)
_LOGGER.info('Logging in to service')
return update(utcnow())