new ui 14

This commit is contained in:
2025-11-17 22:25:45 +01:00
parent 2eb9d323de
commit c685e65be5

View File

@@ -364,10 +364,13 @@
break; break;
case 'thermostat': case 'thermostat':
if (state.current_temp != null) { if (state.current != null) {
html = `<div class="state-primary">${state.current_temp.toFixed(1)}°C</div>`; html = `<div class="state-primary">${state.current.toFixed(1)}°C</div>`;
if (state.target_temp != null) { if (state.target != null) {
html += `<div class="state-secondary">Ziel: ${state.target_temp}°C</div>`; html += `<div class="state-secondary">Ziel: ${state.target}°C</div>`;
}
if (state.mode) {
html += `<div class="state-secondary">Modus: ${state.mode}</div>`;
} }
} }
break; break;