Skip to content

Commit 4d2a426

Browse files
committed
Revert "More docstring improvements"
This reverts commit 61ef70f.
1 parent c827059 commit 4d2a426

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

plugwise/__init__.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ async def connect(self) -> Version | None:
186186
async def _smile_detect(self, result: etree, dsmrmain: etree) -> None:
187187
"""Helper-function for connect().
188188
189-
Detect which type of Plugwise Gateway is being connected.
189+
Detect which type of Smile is connected.
190190
"""
191191
model: str = "Unknown"
192192
if (gateway := result.find("./gateway")) is not None:
@@ -260,10 +260,7 @@ async def _smile_detect(self, result: etree, dsmrmain: etree) -> None:
260260
async def _smile_detect_legacy(
261261
self, result: etree, dsmrmain: etree, model: str
262262
) -> str:
263-
"""Helper-function for _smile_detect().
264-
265-
Detect which type of legacy Plugwise Gateway is being connected.
266-
"""
263+
"""Helper-function for _smile_detect()."""
267264
return_model = model
268265
# Stretch: find the MAC of the zigbee master_controller (= Stick)
269266
if (network := result.find("./module/protocols/master_controller")) is not None:

0 commit comments

Comments
 (0)