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
183 changed files with 362 additions and 393 deletions

View File

@ -165,7 +165,7 @@ class ISYBinarySensorDevice(ISYDevice, BinarySensorDevice):
"""Handle an "On" control event from the "negative" node."""
if event == "DON":
_LOGGER.debug(
"Sensor %s turning Off via the Negative node " "sending a DON command",
"Sensor %s turning Off via the Negative node sending a DON command",
self.name,
)
self._computed_state = False
@ -181,7 +181,7 @@ class ISYBinarySensorDevice(ISYDevice, BinarySensorDevice):
"""
if event == "DON":
_LOGGER.debug(
"Sensor %s turning On via the Primary node " "sending a DON command",
"Sensor %s turning On via the Primary node sending a DON command",
self.name,
)
self._computed_state = True
@ -189,7 +189,7 @@ class ISYBinarySensorDevice(ISYDevice, BinarySensorDevice):
self._heartbeat()
if event == "DOF":
_LOGGER.debug(
"Sensor %s turning Off via the Primary node " "sending a DOF command",
"Sensor %s turning Off via the Primary node sending a DOF command",
self.name,
)
self._computed_state = False