Skip to content

Commit 93d42aa

Browse files
committed
Remove redundant check in async StiebelEltronAPI
1 parent fdc7541 commit 93d42aa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pystiebeleltron/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,6 @@ async def connect(self) -> None:
187187
@property
188188
def is_connected(self) -> bool:
189189
"""Check modbus client connection status."""
190-
if self._client is None:
191-
return False
192190
return self._client.connected
193191

194192
@property

0 commit comments

Comments
 (0)