mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +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(
|
self.publish(
|
||||||
f"{camera_name}/capture/state",
|
f"{camera_name}/capture/state",
|
||||||
"ON",
|
"ON" if camera.capture_enabled else "OFF",
|
||||||
retain=True,
|
retain=True,
|
||||||
)
|
)
|
||||||
self.publish(
|
self.publish(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user