Skip to content

A live bird collage card for your Home Assistant dashboard.

Add options for 720 and 1080 days in selector

Alexandre013bcf1c242c
diff --git a/scripts/species_tools.php b/scripts/species_tools.php
index c034ffcc..ac00f7d7 100644
--- a/scripts/species_tools.php
+++ b/scripts/species_tools.php
@@ -416,7 +416,7 @@ function generateMiniGraph(elem, comname, days = 30) {
chartWindow.appendChild(closeButton);
var selector = document.createElement('select');
- [30, 180, 360].forEach(function(opt) {
+ [30, 180, 360, 720, 1080].forEach(function(opt) {
var option = document.createElement('option');
option.value = opt;
option.text = opt + 'd';