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