fix
This commit is contained in:
@@ -379,9 +379,9 @@
|
||||
break;
|
||||
|
||||
case 'thermostat':
|
||||
if (state.current != null) {
|
||||
if (state.target != null) {
|
||||
html = `<div class="state-primary">${state.target.toFixed(1)}°C</div>`;
|
||||
if (state.target != null) {
|
||||
if (state.current != null) {
|
||||
html += `<div class="state-secondary">Ist: ${state.current}°C</div>`;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user