Remove unnecessary string literal concatenations (#30360)

This commit is contained in:
Ville Skyttä authored and GitHub committed 2020-01-02 21:17:10 +02:00
1 parent cac750066a
commit e6388e186c
183 files changed
+362 -393

No files matched your search

+2 -2
View File
@@ -270,7 +270,7 @@ class ZwaveLock(ZWaveDeviceEntity, LockDevice):
workaround = DEVICE_MAPPINGS[specific_sensor_key]
if workaround & WORKAROUND_V2BTZE:
self._v2btze = 1
_LOGGER.debug("Polycontrol Danalock v2 BTZE " "workaround enabled")
_LOGGER.debug("Polycontrol Danalock v2 BTZE workaround enabled")
if workaround & WORKAROUND_DEVICE_STATE:
self._state_workaround = True
_LOGGER.debug("Notification device state workaround enabled")
@@ -299,7 +299,7 @@ class ZwaveLock(ZWaveDeviceEntity, LockDevice):
):
self._state = LOCK_STATUS.get(str(notification_data))
_LOGGER.debug(
"Lock state set from Access Control value and is %s, " "get=%s",
"Lock state set from Access Control value and is %s, get=%s",
str(notification_data),
self.state,
)