Cleanup component track_point_in_utc_time usage (#6330)
This commit is contained in:
parent
30bed8341a
commit
4e96e461f7
5 changed files with 9 additions and 12 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue