forked from Github/frigate
Make notifications toggleable via MQTT (#13657)
* Add ability to toggle mqtt state from MQTT / ws * Listen to notification config updates * Add docs for notifications
This commit is contained in:
@@ -406,7 +406,7 @@ class FrigateApp:
|
||||
if self.config.mqtt.enabled:
|
||||
comms.append(MqttClient(self.config))
|
||||
|
||||
if self.config.notifications.enabled:
|
||||
if self.config.notifications.enabled_in_config:
|
||||
comms.append(WebPushClient(self.config))
|
||||
|
||||
comms.append(WebSocketClient(self.config))
|
||||
|
||||
Reference in New Issue
Block a user