From 31e7f558b631aae040c7854b1699565fce68c91d Mon Sep 17 00:00:00 2001 From: Rudolf Offereins Date: Fri, 28 Feb 2025 08:05:16 +0000 Subject: [PATCH 1/2] :arrow_up: make paho bwc --- lghorizon/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lghorizon/models.py b/lghorizon/models.py index ce55dc2..594c60b 100644 --- a/lghorizon/models.py +++ b/lghorizon/models.py @@ -359,8 +359,7 @@ def __init__( ":443/mqtt", "" ) self.client_id = make_id() - self._mqtt_client = mqtt.Client( - mqtt.CallbackAPIVersion.VERSION1, # disabled because of dependency issue + self._mqtt_client = mqtt.Client( # disabled because of dependency issue client_id=self.client_id, transport="websockets", ) From 433b549d475ae7d22b6dff8c54fe12ca8a8c3f37 Mon Sep 17 00:00:00 2001 From: Rudolf Offereins Date: Fri, 28 Feb 2025 08:06:40 +0000 Subject: [PATCH 2/2] Remove comment --- lghorizon/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lghorizon/models.py b/lghorizon/models.py index 594c60b..19dbe8d 100644 --- a/lghorizon/models.py +++ b/lghorizon/models.py @@ -359,7 +359,7 @@ def __init__( ":443/mqtt", "" ) self.client_id = make_id() - self._mqtt_client = mqtt.Client( # disabled because of dependency issue + self._mqtt_client = mqtt.Client( client_id=self.client_id, transport="websockets", )