Remove unnecessary string literal concatenations (#30360)
This commit is contained in:
1 parent
cac750066a
commit
e6388e186c
183 files changed
+362
-393
No files matched your search
@@ -740,7 +740,7 @@ class WinkDevice(Entity):
|
||||
try:
|
||||
if message is None:
|
||||
_LOGGER.error(
|
||||
"Error on pubnub update for %s " "polling API for current state",
|
||||
"Error on pubnub update for %s polling API for current state",
|
||||
self.name,
|
||||
)
|
||||
self.schedule_update_ha_state(True)
|
||||
@@ -749,8 +749,7 @@ class WinkDevice(Entity):
|
||||
self.schedule_update_ha_state()
|
||||
except (ValueError, KeyError, AttributeError):
|
||||
_LOGGER.error(
|
||||
"Error in pubnub JSON for %s " "polling API for current state",
|
||||
self.name,
|
||||
"Error in pubnub JSON for %s polling API for current state", self.name,
|
||||
)
|
||||
self.schedule_update_ha_state(True)
|
||||
|
||||
|
||||
Reference in new issue
Block a user