mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-09 23:15:28 +03:00
Publish "stopped" to available topic on app stop
This commit is contained in:
parent
a05f35c747
commit
43ae6fa0df
@ -38,6 +38,7 @@ class MqttClient(Communicator):
|
||||
)
|
||||
|
||||
def stop(self) -> None:
|
||||
self.publish("available", "stopped", retain=True)
|
||||
self.client.disconnect()
|
||||
|
||||
def _set_initial_topics(self) -> None:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user