Skip to content

Commit

Permalink
async stop
Browse files Browse the repository at this point in the history
  • Loading branch information
yozik04 committed May 31, 2022
1 parent 2cc14d3 commit 862c480
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nibe/connection/nibegw.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def _on_raw_coil_value(self, coil_address: int, raw_value: bytes):
logger.info(f"{coil.name}: {coil.value}")
self._heatpump.notify_coil_update(coil)

def stop(self):
async def stop(self):
self._transport.close()
self._transport = None

Expand Down

0 comments on commit 862c480

Please sign in to comment.