mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
This commit is contained in:
@@ -113,7 +113,7 @@ def automatic_mqtt_publish(file, detection, path):
|
||||
log.info("Posted to MQTT: ok")
|
||||
|
||||
|
||||
mqttc = mqtt.Client("birdnet_mqtt")
|
||||
mqttc = mqtt.Client("birdnet_mqtt", callback_api_version=4)
|
||||
mqttc.username_pw_set(mqtt_user, mqtt_pass)
|
||||
mqttc.on_connect = on_connect
|
||||
|
||||
|
||||
Reference in New Issue
Block a user