mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Update black to 22.1.0 (#65788)
This commit is contained in:
@@ -1919,7 +1919,7 @@ def _async_create_timer(hass: HomeAssistant) -> None:
|
||||
"""Schedule a timer tick when the next second rolls around."""
|
||||
nonlocal handle
|
||||
|
||||
slp_seconds = 1 - (now.microsecond / 10 ** 6)
|
||||
slp_seconds = 1 - (now.microsecond / 10**6)
|
||||
target = monotonic() + slp_seconds
|
||||
handle = hass.loop.call_later(slp_seconds, fire_time_event, target)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user