This commit is contained in:
Mateusz Gruszczyński
2026-09-01 14:18:00 +02:00
parent 97c26c67b6
commit d0346dd797
33 changed files with 327 additions and 270 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ document.addEventListener('click', async event => {
}
if (action === 'house-power') {
const power = button.dataset.value === 'true';
if (!power && app.settings?.house_power_enabled !== false && !confirm(tr('house.powerOffConfirm'))) return;
if (!power && !confirm(tr('house.powerOffConfirm'))) return;
try {
button.disabled = true;
const result = await enqueueClimateControlTask(async () => {