From 8f16fee6f174a04d63848f817143eec7ae529a0d Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 25 Mar 2026 16:41:04 +0100 Subject: [PATCH] . --- .idea/workspace.xml | 6 +++--- scripts/lib/scenes.php | 8 -------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index e3f79b1..87cedeb 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -6,7 +6,7 @@ - + diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index 5654805..fbd345b 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -30,7 +30,6 @@ $scenes = [ ['type' => 'scene', 'scene' => 'chambre/nightlights'], ['type' => 'hue', 'group' => $chambre, 'scene' => 'dawn', 'delay' => 1], ['type' => 'scene', 'scene' => 'chambre/rideaux/open', 'delay' => 31], - ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/on'], ['type' => 'scene', 'scene' => 'chambre/planetarium/off'], ['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]], ['type' => 'phonetask', 'phone' => 'vincent', 'task' => 'Matin'], @@ -48,7 +47,6 @@ $scenes = [ ['type' => 'state', 'key' => 'chambre', 'value' => 0], ['type' => 'scene', 'scene' => 'chambre/rideaux/close'], ['type' => 'function', 'function' => 'bedbrightness', 'args' => [$bedlowscreenbrightness]], - ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/off'], ['type' => 'phonetask', 'phone' => 'vincent', 'task' => 'Va Au Lit'], ], 'chambre/bed' => [ @@ -63,7 +61,6 @@ $scenes = [ ['type' => 'nightmode', 'mode' => '1'], ['type' => 'ecomode', 'mode' => '1'], ['type' => 'scene', 'scene' => 'chambre/off/exceptcheminee'], - ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/off'], ['type' => 'function', 'function' => 'bedbrightness', 'args' => [$bedlowscreenbrightness]], ['type' => 'scene', 'scene' => 'chambre/cheminee/off'], ['type' => 'scene', 'scene' => 'chambre/cheminee/off', 'delay' => 2], @@ -81,7 +78,6 @@ $scenes = [ ['type' => 'scene', 'scene' => 'chambre/rideaux/close'], ['type' => 'scene', 'scene' => 'sdb/off'], ['type' => 'scene', 'scene' => 'chambre/planetarium/on'], // Planétarium on - ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/off'], ['type' => 'delay', 'scene' => 'chambre/planetarium/off', 'delay' => 3600], // Planétarium off dans une heure ], 'chambre/sleep' => [ @@ -596,7 +592,6 @@ $scenes = [ ['type' => 'scene', 'scene' => 'chambre/off'], ['type' => 'scene', 'scene' => 'sdb/off'], ['type' => 'scene', 'scene' => 'wc/off'], - ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/on'], ['type' => 'scene', 'scene' => 'chambre/planetarium/off'], ['type' => 'scene', 'scene' => 'cuisine/coffee/off'], ['type' => 'scene', 'scene' => 'bureau/pc/shutdown'], @@ -636,7 +631,6 @@ $scenes = [ ['type' => 'scene', 'scene' => 'chambre/auto'], ['type' => 'scene', 'scene' => 'sdb/on'], ['type' => 'scene', 'scene' => 'cour/auto'], - ['type' => 'scene', 'scene' => 'chambre/deshumidificateur/on'], ['type' => 'scene', 'scene' => 'chambre/rideaux/open'], ['type' => 'ecomode', 'mode' => '0'], ['type' => 'nightmode', 'mode' => '0'], @@ -973,8 +967,6 @@ function planetarium($on) function checkPlanetarium($periodicOffCheck = true) { - $device = 6989; - $on = getState('planetarium') == '1'; $h = date('G'); if ($h >= 2 && $h <= 20) { -- 2.39.5