Skip to content

Commit 1ac65b0

Browse files
committed
__init__.py - remove "\" in long strings
1 parent 0b1021f commit 1ac65b0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

plugwise/__init__.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ async def connect(self) -> bool:
354354
dsmrmain = result.find("./module/protocols/dsmrmain")
355355
if "Plugwise" not in names and dsmrmain is None: # pragma: no cover
356356
LOGGER.error(
357-
"Connected but expected text not returned, we got %s. Please create \
358-
an issue on http://github.com/plugwise/python-plugwise",
357+
"Connected but expected text not returned, we got %s. Please create"
358+
" an issue on http://github.com/plugwise/python-plugwise",
359359
result,
360360
)
361361
raise ResponseError
@@ -416,8 +416,8 @@ async def _smile_detect_legacy(
416416
else: # pragma: no cover
417417
# No cornercase, just end of the line
418418
LOGGER.error(
419-
"Connected but no gateway device information found, please create \
420-
an issue on http://github.com/plugwise/python-plugwise"
419+
"Connected but no gateway device information found, please create"
420+
" an issue on http://github.com/plugwise/python-plugwise"
421421
)
422422
raise ResponseError
423423

@@ -442,8 +442,8 @@ async def _smile_detect(self, result: etree, dsmrmain: etree) -> None:
442442
if model == "Unknown" or self.smile_fw_version is None: # pragma: no cover
443443
# Corner case check
444444
LOGGER.error(
445-
"Unable to find model or version information, please create \
446-
an issue on http://github.com/plugwise/python-plugwise"
445+
"Unable to find model or version information, please create"
446+
" an issue on http://github.com/plugwise/python-plugwise"
447447
)
448448
raise UnsupportedDeviceError
449449

@@ -452,8 +452,8 @@ async def _smile_detect(self, result: etree, dsmrmain: etree) -> None:
452452
LOGGER.debug("Plugwise identified as %s", target_smile)
453453
if target_smile not in SMILES:
454454
LOGGER.error(
455-
'Your version Smile identified as "%s" seems unsupported by our plugin, please \
456-
create an issue on http://github.com/plugwise/python-plugwise',
455+
"Your version Smile identified as %s seems unsupported by our plugin, please"
456+
" create an issue on http://github.com/plugwise/python-plugwise",
457457
target_smile,
458458
)
459459
raise UnsupportedDeviceError
@@ -687,8 +687,8 @@ async def set_temperature(self, loc_id: str, items: dict[str, float]) -> None:
687687
tmp_setpoint_low = items["setpoint_low"]
688688
else:
689689
raise PlugwiseError(
690-
"Plugwise: wrong target-temperature provided, provide values for \
691-
both target-temperature-low and target-temperature-high."
690+
"Plugwise: wrong target-temperature provided, provide values for"
691+
" both target-temperature-low and target-temperature-high."
692692
)
693693
if self._cooling_enabled: # in cooling mode
694694
setpoint = tmp_setpoint_high

0 commit comments

Comments
 (0)