A live bird collage card for your Home Assistant dashboard.
Collage: blank panel instead of "No birds heard outside" empty state
Adam Oberley02e01d7db173
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 752d751d..ff4bd9bf 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -20,6 +20,8 @@species.### Changed+- The collage shows a **blank panel** when no birds are in the window,+ instead of a "No birds heard outside" message.- **Stats view** now fills the screen and aligns to the top (was cappedat 1280px and floated in the middle), with a wider species-name columnand taller heatmap so fewer names truncate and more rows show at once.diff --git a/dist/habird-card.js b/dist/habird-card.jsindex c8227c3c..60098b9c 100644--- a/dist/habird-card.js+++ b/dist/habird-card.js@@ -1517,7 +1517,7 @@ function runHABirdApp(__root, __shell, __cardConfig, __imgBase) {var _collageSig = null;function renderCollage(items, animate) {if (!items.length) {- collage.innerHTML = '<p class="empty">No birds heard outside.</p>';+ collage.innerHTML = ''; // blank, rather than an empty-state messagecollagePlaced = [];_collageSig = 'empty';return;diff --git a/homeassistant/www/apt.js b/homeassistant/www/apt.jsindex ac2b3e0c..d5886695 100644--- a/homeassistant/www/apt.js+++ b/homeassistant/www/apt.js@@ -1476,7 +1476,7 @@var _collageSig = null;function renderCollage(items, animate) {if (!items.length) {- collage.innerHTML = '<p class="empty">No birds heard outside.</p>';+ collage.innerHTML = ''; // blank, rather than an empty-state messagecollagePlaced = [];_collageSig = 'empty';return;