From b4ccd962a02c7f3bbb69e6640142c11d6ba5ea2b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 18 Apr 2024 13:46:17 +0200 Subject: [PATCH] . --- .idea/workspace.xml | 10 ++++------ scripts/lib/automodes.php | 4 +--- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 51bf7a1..55000ae 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,11 +5,8 @@ - - - - + diff --git a/scripts/lib/automodes.php b/scripts/lib/automodes.php index 116578c..204e919 100644 --- a/scripts/lib/automodes.php +++ b/scripts/lib/automodes.php @@ -87,10 +87,8 @@ function updateCourAuto() return; } $h = date('H'); - if ($h >= 7 && $h <= 22) { + if ($h >= 7 && $h <= 21) { execScene('cour/projecteurs/off'); - } else { - execScene('cour/projecteurs/on'); } if (getState('courOff') == '1') { execScene('cour/off'); -- 2.39.5