fix duplicate 'let on' declaration in update_pump()

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-15 17:47:50 +01:00
parent f9a579529b
commit 0c175b4a8e

View File

@@ -183,7 +183,7 @@ function update_pump(temp, max, time) {
} }
// compute the current switch state according to the schedule // compute the current switch state according to the schedule
let on = false; on = false;
if (schedule.length === 1) { if (schedule.length === 1) {
on = true; on = true;
} }