Skip to content

A live bird collage card for your Home Assistant dashboard.

oops

ehpersonal38aba67608754f
diff --git a/scripts/overview.php b/scripts/overview.php
index 3f97d96d..5cd912a9 100644
--- a/scripts/overview.php
+++ b/scripts/overview.php
@@ -69,7 +69,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" && isse
}
// convert sci name to English name
foreach($lines as $line){
- if(strpos($line, $todaytable['Sci_Name']) !== false){
+ if(strpos($line, $mostrecent['Sci_Name']) !== false){
$engname = trim(explode("_", $line)[1]);
break;
}