mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-01 11:46:07 +02:00
Black lint
This commit is contained in:
@@ -86,7 +86,7 @@ def automatic_mqtt_publish(file, detection, path):
|
|||||||
|
|
||||||
json_bird = json.dumps(bird)
|
json_bird = json.dumps(bird)
|
||||||
mqttc.reconnect()
|
mqttc.reconnect()
|
||||||
mqttc.publish(mqtt_topic, json_bird, 1)
|
mqttc.publish(mqtt_topic, json_bird, 1)
|
||||||
log.info("Posted to MQTT: ok")
|
log.info("Posted to MQTT: ok")
|
||||||
|
|
||||||
mqttc = mqtt.Client('birdnet_mqtt')
|
mqttc = mqtt.Client('birdnet_mqtt')
|
||||||
|
|||||||
Reference in New Issue
Block a user