Skip to content

Commit

Permalink
fix: broken disconnect callback
Browse files Browse the repository at this point in the history
  • Loading branch information
vanstinator committed Apr 18, 2022
1 parent 9e97e02 commit 254256f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion melnor_bluetooth/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def __init__(self, mac: str, name: str, sensor: bool, valves: int) -> None:
for i in range(4):
self._valves.append(Valve(i, self))

def disconnected_callback(self):
def disconnected_callback(self, client):
print("Disconnected from:", self._mac)
self._is_connected = False

Expand Down

0 comments on commit 254256f

Please sign in to comment.