From: Vincent Vanwaelscappel Date: Wed, 7 Feb 2024 15:19:59 +0000 (+0100) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=d8c1aa943199083a00ed1acf310a55027cc12bd8;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d88927b..7e9e9c7 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -5,12 +5,7 @@ - - - - - - + diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index 5e444bc..6b82d17 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -1031,7 +1031,7 @@ function wcOn($vmc = true) $hour = getHour(); if (getNightMode('chambre') && getNightMode('bureau')) { $period = 'night'; - } else if (getNightMode('chambre') && !getNightMode('bureau')) { + } else if (getNightMode() && !getNightMode('bureau')) { $period = 'silentmorning'; } else if ($hour > 0 && $hour < 6.75) { $period = 'late';