mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-18 02:18:16 +01:00
Update birdnet_to_mqtt.py
This commit is contained in:
@@ -50,7 +50,8 @@ def get_bird_code(scientific_name):
|
||||
|
||||
return bird_dict.get(scientific_name)
|
||||
|
||||
def automatic_mqtt_publish(file, detections, path):
|
||||
def automatic_mqtt_publish(file, detections):
|
||||
path = ""
|
||||
for detection in detections:
|
||||
bird = {}
|
||||
bird['Date'] = file.date
|
||||
|
||||
Reference in New Issue
Block a user