A live bird collage card for your Home Assistant dashboard.
Update update_birdnet_snippets.sh
ehpersonal38595c7fd3fce4
diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.shindex 85ce5c1e..6e2cd843 100755--- a/scripts/update_birdnet_snippets.sh+++ b/scripts/update_birdnet_snippets.sh@@ -102,6 +102,13 @@ if ! grep SILENCE_UPDATE_INDICATOR /etc/birdnet/birdnet.conf &>/dev/null;thensudo -u$USER echo "SILENCE_UPDATE_INDICATOR=0" >> /etc/birdnet/birdnet.conffi+if [[ -s /etc/crontab && -z "$(tail -c 1 /etc/crontab)" ]]+then+ echo ""+else+ echo "\n" | sudo tee -a /etc/crontab+fi+sudo systemctl daemon-reloadrestart_services.sh