Increased quiet period for notifications to 3 minutes
This commit is contained in:
parent
296e6326c6
commit
2845979497
|
@ -8,7 +8,7 @@ import paho.mqtt.client as mqtt
|
|||
|
||||
|
||||
class FrigateEventNotifier:
|
||||
def __init__(self, mqtt_username, mqtt_password, quiet_period=60):
|
||||
def __init__(self, mqtt_username, mqtt_password, quiet_period=3 * 60):
|
||||
self.mqtt_client = mqtt.Client()
|
||||
self.mqtt_client.username_pw_set(mqtt_username, password=mqtt_password)
|
||||
self.mqtt_client.on_connect = self._on_connect
|
||||
|
|
Loading…
Reference in New Issue