Remove unnecessary string literal concatenations (#30360)

This commit is contained in:
Ville Skyttä 2020-01-02 21:17:10 +02:00 committed by GitHub
parent cac750066a
commit e6388e186c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
183 changed files with 362 additions and 393 deletions

View file

@ -437,8 +437,7 @@ class CoverTemplate(CoverDevice):
if state < 0 or state > 100:
self._tilt_value = None
_LOGGER.error(
"Tilt value must be between 0 and 100." " Value was: %.2f",
state,
"Tilt value must be between 0 and 100. Value was: %.2f", state,
)
else:
self._tilt_value = state
@ -466,7 +465,7 @@ class CoverTemplate(CoverDevice):
):
# Common during HA startup - so just a warning
_LOGGER.warning(
"Could not render %s template %s," " the state is unknown.",
"Could not render %s template %s, the state is unknown.",
friendly_property_name,
self._name,
)