String formatting and max line length - Part 2 (#84393)

This commit is contained in:
Franck Nijhof 2022-12-22 11:38:59 +01:00 committed by GitHub
parent 7e682af472
commit cb13418bab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
69 changed files with 431 additions and 174 deletions

View file

@ -126,7 +126,8 @@ class HarmonyData(HarmonySubscriberMixin):
except (ValueError, AttributeError) as err:
await self._client.close()
raise ConfigEntryNotReady(
f"{self._name}: Error {err} while connected HUB at: {self._address}:8088"
f"{self._name}: Error {err} while connected HUB at:"
f" {self._address}:8088"
) from err
if not connected:
await self._client.close()
@ -219,8 +220,10 @@ class HarmonyData(HarmonySubscriberMixin):
return
_LOGGER.debug(
"Sending commands to device %s holding for %s seconds "
"with a delay of %s seconds",
(
"Sending commands to device %s holding for %s seconds "
"with a delay of %s seconds"
),
device,
hold_secs,
delay_secs,