mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 06:14:07 +02: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)
|
return bird_dict.get(scientific_name)
|
||||||
|
|
||||||
def automatic_mqtt_publish(file, detections, path):
|
def automatic_mqtt_publish(file, detections):
|
||||||
|
path = ""
|
||||||
for detection in detections:
|
for detection in detections:
|
||||||
bird = {}
|
bird = {}
|
||||||
bird['Date'] = file.date
|
bird['Date'] = file.date
|
||||||
|
|||||||
Reference in New Issue
Block a user