mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Use existing standard for values
This commit is contained in:
parent
8cd6a2c94f
commit
b54ca25bf6
@ -215,7 +215,7 @@ class AudioEventMaintainer(threading.Thread):
|
||||
] = datetime.datetime.now().timestamp()
|
||||
else:
|
||||
self.inter_process_communicator.queue.put(
|
||||
(f"{self.config.name}/audio/{label}", True)
|
||||
(f"{self.config.name}/audio/{label}", "ON")
|
||||
)
|
||||
|
||||
resp = requests.post(
|
||||
@ -243,7 +243,7 @@ class AudioEventMaintainer(threading.Thread):
|
||||
> self.config.audio.max_not_heard
|
||||
):
|
||||
self.inter_process_communicator.queue.put(
|
||||
(f"{self.config.name}/audio/{detection['label']}", False)
|
||||
(f"{self.config.name}/audio/{detection['label']}", "OFF")
|
||||
)
|
||||
|
||||
resp = requests.put(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user