From 9bcc294e99d27af46d2767eaf7d56042e2f9fb7c Mon Sep 17 00:00:00 2001 From: vincent Date: Fri, 15 Apr 2022 12:46:27 +0200 Subject: [PATCH] . --- .idea/workspace.xml | 20 ++++++++++---------- scripts/lib/ecomode.php | 3 +++ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c738bef..f3aa0db 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,8 +3,7 @@ - - + diff --git a/scripts/lib/ecomode.php b/scripts/lib/ecomode.php index 2f124b7..6ae5106 100644 --- a/scripts/lib/ecomode.php +++ b/scripts/lib/ecomode.php @@ -38,6 +38,9 @@ function getNightMode() if ($h >= 6 && $h <= 8) { return false; } + if (getSqueezePlayerStatus('Salle de bains')) { + return false; + } if (getState('chambreOff')) { return true; } -- 2.39.5