[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -265,7 +265,6 @@ class HCDevice:
|
|||||||
print(self.name, "Failed to send", e, msg, traceback.format_exc())
|
print(self.name, "Failed to send", e, msg, traceback.format_exc())
|
||||||
self.tx_msg_id += 1
|
self.tx_msg_id += 1
|
||||||
|
|
||||||
|
|
||||||
def reconnect(self):
|
def reconnect(self):
|
||||||
self.ws.reconnect()
|
self.ws.reconnect()
|
||||||
# Receive initialization message /ei/initialValues
|
# Receive initialization message /ei/initialValues
|
||||||
@@ -389,7 +388,6 @@ class HCDevice:
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
print(now(), self.name, "Unknown response or notify:", msg)
|
print(now(), self.name, "Unknown response or notify:", msg)
|
||||||
pass
|
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print(now(), self.name, "Unknown message", msg)
|
print(now(), self.name, "Unknown message", msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user