From 0c175b4a8e745f80ad24fe0f56e409c67c996651 Mon Sep 17 00:00:00 2001 From: Gilles Grandou Date: Sun, 15 Mar 2026 17:47:50 +0100 Subject: [PATCH] fix duplicate 'let on' declaration in update_pump() Co-Authored-By: Claude Sonnet 4.6 --- pool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pool.js b/pool.js index 8e4e444..867e61b 100644 --- a/pool.js +++ b/pool.js @@ -183,7 +183,7 @@ function update_pump(temp, max, time) { } // compute the current switch state according to the schedule - let on = false; + on = false; if (schedule.length === 1) { on = true; }