new ui 14
This commit is contained in:
@@ -364,10 +364,13 @@
|
||||
break;
|
||||
|
||||
case 'thermostat':
|
||||
if (state.current_temp != null) {
|
||||
html = `<div class="state-primary">${state.current_temp.toFixed(1)}°C</div>`;
|
||||
if (state.target_temp != null) {
|
||||
html += `<div class="state-secondary">Ziel: ${state.target_temp}°C</div>`;
|
||||
if (state.current != null) {
|
||||
html = `<div class="state-primary">${state.current.toFixed(1)}°C</div>`;
|
||||
if (state.target != null) {
|
||||
html += `<div class="state-secondary">Ziel: ${state.target}°C</div>`;
|
||||
}
|
||||
if (state.mode) {
|
||||
html += `<div class="state-secondary">Modus: ${state.mode}</div>`;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user