From 8cc28150d28a4a154910daad88b6d9fe45e272e3 Mon Sep 17 00:00:00 2001 From: Chris OBryan <13701027+cobryan05@users.noreply.github.com> Date: Thu, 8 Jun 2023 15:39:33 -0500 Subject: [PATCH] Post initial capture state to MQTT --- frigate/comms/mqtt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/comms/mqtt.py b/frigate/comms/mqtt.py index 6133c3caa..3a265743d 100644 --- a/frigate/comms/mqtt.py +++ b/frigate/comms/mqtt.py @@ -61,7 +61,7 @@ class MqttClient(Communicator): # type: ignore[misc] ) self.publish( f"{camera_name}/capture/state", - "ON", + "ON" if camera.capture_enabled else "OFF", retain=True, ) self.publish(