Post initial capture state to MQTT

This commit is contained in:
Chris OBryan 2023-06-08 15:39:33 -05:00
parent 21f00b3858
commit 8cc28150d2

View File

@ -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(