From 1ea9692b4994373b259634285d387bc841b4d5c9 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 19 Mar 2026 09:37:59 -0500 Subject: [PATCH] remove available profiles from mqtt --- docs/docs/integrations/mqtt.md | 11 ----------- frigate/comms/mqtt.py | 11 ----------- 2 files changed, 22 deletions(-) diff --git a/docs/docs/integrations/mqtt.md b/docs/docs/integrations/mqtt.md index 101e95410..0a04e7be6 100644 --- a/docs/docs/integrations/mqtt.md +++ b/docs/docs/integrations/mqtt.md @@ -283,17 +283,6 @@ Topic to activate or deactivate a [profile](/configuration/profiles). Publish a Topic with the currently active profile name. Published value is the profile name or `none` if no profile is active. This topic is retained. -### `frigate/profiles/available` - -Topic with a JSON array of all available profile definitions. Published on startup as a retained message. - -```json -[ - { "name": "away", "friendly_name": "Away" }, - { "name": "home", "friendly_name": "Home" } -] -``` - ### `frigate/notifications/set` Topic to turn notifications on and off. Expected values are `ON` and `OFF`. diff --git a/frigate/comms/mqtt.py b/frigate/comms/mqtt.py index 1cc712e5d..dfb81fb97 100644 --- a/frigate/comms/mqtt.py +++ b/frigate/comms/mqtt.py @@ -1,4 +1,3 @@ -import json import logging import threading from typing import Any, Callable @@ -169,16 +168,6 @@ class MqttClient(Communicator): self.config.active_profile or "none", retain=True, ) - available_profiles = [ - {"name": name, "friendly_name": defn.friendly_name} - for name, defn in sorted(self.config.profiles.items()) - ] - self.publish( - "profiles/available", - json.dumps(available_profiles), - retain=True, - ) - self.publish("available", "online", retain=True) def on_mqtt_command(