mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
Post initial capture state to MQTT
This commit is contained in:
parent
21f00b3858
commit
8cc28150d2
@ -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(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user