diff --git a/src/isar/services/service_connections/mqtt/mqtt_client.py b/src/isar/services/service_connections/mqtt/mqtt_client.py index d3e4310b..39b53738 100644 --- a/src/isar/services/service_connections/mqtt/mqtt_client.py +++ b/src/isar/services/service_connections/mqtt/mqtt_client.py @@ -53,7 +53,7 @@ def __init__(self, mqtt_queue: Queue) -> None: self.port: int = settings.MQTT_PORT - self.client: Client = Client() + self.client: Client = Client(mqtt.CallbackAPIVersion.VERSION1) self.client.enable_logger(logger=self.logger)