Fix temp slot enable checkbox logic

This commit is contained in:
2026-06-05 03:48:21 -06:00
parent 4fe7491afa
commit 78f6a9e53e
2 changed files with 2 additions and 3 deletions
@@ -601,8 +601,7 @@ async function saveTempConfig(){
for(let i=0;i<temps.length;i++){
const name=$("tempName"+i)?.value.trim() || temps[i].name || temps[i].id;
const manual=$("tempEnabled"+i)?.checked;
const enabled=(i<count) || manual;
const enabled=$("tempEnabled"+i)?.checked || false;
const weather=$("tempWeather"+i)?.checked || false;
await fetch("/config/temp",{