String formatting and max line length - Part 5 (#84501)

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
This commit is contained in:
Franck Nijhof 2022-12-23 16:43:17 +01:00 committed by GitHub
parent 139dd22ce6
commit f39f3b612a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 296 additions and 139 deletions

View file

@ -407,7 +407,10 @@ async def async_setup_sensor_registry_updates(
"""Update all sensors in one executor jump."""
if _update_lock.locked():
_LOGGER.warning(
"Updating systemmonitor took longer than the scheduled update interval %s",
(
"Updating systemmonitor took longer than the scheduled update"
" interval %s"
),
scan_interval,
)
return