From: Vincent Date: Wed, 4 Nov 2020 20:37:55 +0000 (+0100) Subject: . X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=cc74607ad1c5524c17aa75c76eec272dbf887886;p=tortuga-home.git . --- diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4948ef8..ca68431 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,15 +2,8 @@ + - - - - - - - - @@ -1288,21 +1294,21 @@ - + - + - + - + @@ -1315,11 +1321,11 @@ - + - + diff --git a/scripts/lib/scenes.php b/scripts/lib/scenes.php index f79ae68..2925b53 100644 --- a/scripts/lib/scenes.php +++ b/scripts/lib/scenes.php @@ -36,6 +36,7 @@ $scenes = [ ['type' => 'function', 'function' => 'bedbrightness', 'args' => [255]], ['type' => 'phonetask', 'phone' => 'vincent', 'task' => 'Matin'], ['type' => 'ifttt', 'event' => 'coffee_on'], + ['type' => 'function', 'function' => 'chambreAuto', 'args' => [true]], ], 'chambre/deshumidificateur/on' => [ ['type' => 'domoticz', 'device' => $chambrefan, 'command' => true], diff --git a/scripts/state.php b/scripts/state.php new file mode 100644 index 0000000..f578f0e --- /dev/null +++ b/scripts/state.php @@ -0,0 +1,3 @@ +