_read_unwanted_data_fix is now controlled via settings
This commit is contained in:
+1
-1
@@ -110,7 +110,7 @@ if __name__ == "__main__":
|
||||
client.subscribe("gateway", "+", "write", None)
|
||||
client.subscribe("plug", "+", "status", "set")
|
||||
|
||||
gateway = XiaomiHub(gateway_pass, gateway_ip)
|
||||
gateway = XiaomiHub(gateway_pass, gateway_ip, config)
|
||||
stop_event= threading.Event()
|
||||
t1 = threading.Thread(target=process_gateway_messages, args=[gateway, client, stop_event])
|
||||
t1.daemon = True
|
||||
|
||||
Reference in New Issue
Block a user