This commit is contained in:
2025-11-20 22:13:01 +01:00
parent b61e7293ae
commit f67831c8bd

View File

@@ -379,9 +379,9 @@
break;
case 'thermostat':
if (state.current != null) {
html = `<div class="state-primary">${state.target.toFixed(1)}°C</div>`;
if (state.target != null) {
html = `<div class="state-primary">${state.target.toFixed(1)}°C</div>`;
if (state.current != null) {
html += `<div class="state-secondary">Ist: ${state.current}°C</div>`;
}
}