From c685e65be503c2841f9dcf7e9c22199735cda1ff Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 17 Nov 2025 22:25:45 +0100 Subject: [PATCH] new ui 14 --- apps/ui/templates/room.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/ui/templates/room.html b/apps/ui/templates/room.html index d7fd9a9..eaef772 100644 --- a/apps/ui/templates/room.html +++ b/apps/ui/templates/room.html @@ -364,10 +364,13 @@ break; case 'thermostat': - if (state.current_temp != null) { - html = `
${state.current_temp.toFixed(1)}°C
`; - if (state.target_temp != null) { - html += `
Ziel: ${state.target_temp}°C
`; + if (state.current != null) { + html = `
${state.current.toFixed(1)}°C
`; + if (state.target != null) { + html += `
Ziel: ${state.target}°C
`; + } + if (state.mode) { + html += `
Modus: ${state.mode}
`; } } break;