From 6248cba10d66d99f6ef4a235c723fd28bfc7da38 Mon Sep 17 00:00:00 2001 From: Ashish D'Souza Date: Wed, 3 Sep 2025 19:49:04 -0500 Subject: [PATCH] Fix notifier MQTT subscriber --- notifier/src/notifier/frigate/mqtt.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notifier/src/notifier/frigate/mqtt.py b/notifier/src/notifier/frigate/mqtt.py index fa5d7b8..7822516 100644 --- a/notifier/src/notifier/frigate/mqtt.py +++ b/notifier/src/notifier/frigate/mqtt.py @@ -16,6 +16,8 @@ class MQTTSubscriber: self._client = MQTTClient() if username and password: self._client.username_pw_set(username, password=password) + self._client.on_connect = self._on_connect + self._client.on_message = self._on_message def subscribe(self) -> None: self._client.connect(host=self._host, port=self._port)