Restore indoor sensor display and restructure dashboard layout
- Restore tempinf/humidityin tiles from PWS data on index.html (removed with thermostat cleanup but still available from Ambient station) - Dashboard: replace two flat secondary-stat grids with labeled section cards — Wind, Precipitation, Climate, Indoor — for clearer visual hierarchy and category separation - Indoor section card includes Ecobee portal link; appears only when station reports indoor sensor data Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
e133781760
commit
0d00c7f6ab
3 files changed
+85
-30
No files matched your search
@@ -2975,6 +2975,14 @@ function applyStationOverlay(device) {
|
||||
|
||||
if (data.uv != null) setEl('cur-uv', data.uv);
|
||||
|
||||
const indoorCard = document.getElementById('st-indoor-card');
|
||||
if (data.tempinf != null) {
|
||||
setEl('st-tempin', fmtTemp(data.tempinf));
|
||||
setEl('st-tempin-unit', isMetric ? 'C' : 'F');
|
||||
setEl('st-humin', data.humidityin != null ? `${data.humidityin}% RH` : '');
|
||||
if (indoorCard) indoorCard.classList.remove('hidden');
|
||||
}
|
||||
|
||||
// Rain summary in hero sub-line
|
||||
const rainEl = document.getElementById('cur-precip');
|
||||
if (rainEl && data.dailyrainin != null) {
|
||||
|
||||
Reference in new issue
Block a user