Remove unnecessary string literal concatenations (#30360)
This commit is contained in:
parent
cac750066a
commit
e6388e186c
183 changed files with 362 additions and 393 deletions
|
@ -223,7 +223,7 @@ class BinarySensorTemplate(BinarySensorDevice):
|
|||
):
|
||||
# Common during HA startup - so just a warning
|
||||
_LOGGER.warning(
|
||||
"Could not render template %s, " "the state is unknown", self._name
|
||||
"Could not render template %s, the state is unknown", self._name
|
||||
)
|
||||
return
|
||||
_LOGGER.error("Could not render template %s: %s", self._name, ex)
|
||||
|
@ -259,7 +259,7 @@ class BinarySensorTemplate(BinarySensorDevice):
|
|||
):
|
||||
# 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,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue