Skip to content

A live bird collage card for your Home Assistant dashboard.

I think this will fix it

mcguirepr896329595cf078
diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh
index 1af579f7..25e86a42 100755
--- a/scripts/update_birdnet_snippets.sh
+++ b/scripts/update_birdnet_snippets.sh
@@ -76,7 +76,7 @@ if systemctl list-unit-files pushed_notifications.service &>/dev/null;then
fi
if [ ! -f $HOME/BirdNET-Pi/model/labels.txt ];then
- [[ $DATABASE_LANG == 'not-selected' ]] && $DATABASE_LANG=en
+ [[ $DATABASE_LANG ~= 'not-selected' ]] && $DATABASE_LANG=en
$my_dir/install_language_label.sh -l $DATABASE_LANG \
&& logger "[$0] Installed new language label file for '$DATABASE_LANG'";
fi