From fc8fb7d67ca33ea38000a7458d081e906f0c2801 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 19 Apr 2024 15:25:48 +0200 Subject: [PATCH] . --- .idea/workspace.xml | 7 ++++--- scripts/lib/scenes.php | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 55000ae..9bfd591 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 8461bb0..06233ca 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -61,7 +61,7 @@ $scenes = [ ['type' => 'nightmode', 'mode' => '1'], ['type' => 'ecomode', 'mode' => '1'], ['type' => 'state', 'key' => 'chambre', 'value' => 0], - ['type' => 'ha', 'device' => 'script.rideaux_chambre_ferme'], + ['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'], @@ -93,7 +93,7 @@ $scenes = [ ['type' => 'function', 'function' => 'chambreAuto', 'args' => [false]], ['type' => 'state', 'key' => 'chambre', 'value' => 0], ['type' => 'function', 'function' => 'bedbrightness', 'args' => [$bedlowscreenbrightness]], - ['type' => 'ha', 'device' => 'script.rideaux_chambre_ferme'], + ['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'], -- 2.39.5