grid fix 5

This commit is contained in:
2025-11-19 21:16:48 +01:00
parent 4b7ac9b82b
commit 73814df01e
2 changed files with 4 additions and 7 deletions

View File

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

View File

@@ -374,7 +374,7 @@ devices:
model: "4058075208421" model: "4058075208421"
vendor: "LEDVANCE" vendor: "LEDVANCE"
- device_id: thermostat_wolfgang - device_id: thermostat_wolfgang
name: Thermostat name: Heizung
type: thermostat type: thermostat
cap_version: "thermostat@1.0.0" cap_version: "thermostat@1.0.0"
technology: zigbee2mqtt technology: zigbee2mqtt