Cleanup component track_point_in_utc_time usage (#6330)
This commit is contained in:
1 parent
30bed8341a
commit
4e96e461f7
5 files changed
+9
-12
No files matched your search
@@ -86,7 +86,7 @@ def setup_scanner(hass, config, see, discovery_info=None):
|
||||
"""Update all the hosts on every interval time."""
|
||||
for host in hosts:
|
||||
host.update(see)
|
||||
track_point_in_utc_time(hass, update, now + interval)
|
||||
track_point_in_utc_time(hass, update, util.dt.utcnow() + interval)
|
||||
return True
|
||||
|
||||
return update(util.dt.utcnow())
|
||||
Reference in new issue
Block a user