mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 01:35:22 +03:00
Reformat
This commit is contained in:
parent
fa6618c800
commit
1e6b7e4c35
@ -402,6 +402,7 @@ def create_mqtt_client(config: FrigateConfig, camera_metrics):
|
|||||||
"OFF",
|
"OFF",
|
||||||
retain=False,
|
retain=False,
|
||||||
)
|
)
|
||||||
|
client.publish(
|
||||||
f"{mqtt_config.topic_prefix}/{name}/birdseye/state",
|
f"{mqtt_config.topic_prefix}/{name}/birdseye/state",
|
||||||
"ON" if config.cameras[name].birdseye.enabled else "OFF",
|
"ON" if config.cameras[name].birdseye.enabled else "OFF",
|
||||||
retain=True,
|
retain=True,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user