]> _ Git - tortuga-home.git/commitdiff
.
authorVincent <vincent@enhydra.fr>
Sun, 8 Sep 2019 10:56:03 +0000 (12:56 +0200)
committerVincent <vincent@enhydra.fr>
Sun, 8 Sep 2019 10:56:03 +0000 (12:56 +0200)
.idea/workspace.xml
scripts/lib/hue.php

index a65b83bef3a9c8909ef6be5b3f7eefcf53b068cd..0b6773dd9bee6b0398a0ae013894fd89f076d4a4 100644 (file)
@@ -3,8 +3,7 @@
   <component name="ChangeListManager">
     <list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/cron/cron.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/cron/cron.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/medialibrary.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/medialibrary.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/scripts/lib/hue.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/hue.php" afterDir="false" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="SHOW_DIALOG" value="false" />
       <workItem from="1567582030869" duration="3411000" />
       <workItem from="1567626187111" duration="1366000" />
       <workItem from="1567667112123" duration="599000" />
-      <workItem from="1567671316880" duration="496000" />
-    </task>
-    <task id="LOCAL-00177" summary=".">
-      <created>1551259945800</created>
-      <option name="number" value="00177" />
-      <option name="presentableId" value="LOCAL-00177" />
-      <option name="project" value="LOCAL" />
-      <updated>1551259945800</updated>
+      <workItem from="1567671316880" duration="567000" />
+      <workItem from="1567931729831" duration="966000" />
     </task>
     <task id="LOCAL-00178" summary=".">
       <created>1551302762520</created>
       <option name="project" value="LOCAL" />
       <updated>1567584869431</updated>
     </task>
-    <option name="localTasksCounter" value="226" />
+    <task id="LOCAL-00226" summary=".">
+      <created>1567671880464</created>
+      <option name="number" value="00226" />
+      <option name="presentableId" value="LOCAL-00226" />
+      <option name="project" value="LOCAL" />
+      <updated>1567671880464</updated>
+    </task>
+    <option name="localTasksCounter" value="227" />
     <servers />
   </component>
   <component name="TodoView">
index b9082e3960f8cb98e5eff8864d03be885a3caeef..8ab5f10169c7645059c7898d6a3dde499cf1bd2e 100644 (file)
@@ -46,9 +46,6 @@ function hueApplyScene($groupId, $sceneId, $transitionTime = null)
         foreach ($sceneId as $key => $value) {
             $command->$key($value);
         }
-        if (!isset($sceneId['effect'])) {
-            $command->effect('none');
-        }
         if (null !== $transitionTime) {
             $command->transitionTime($transitionTime);
         }
@@ -61,8 +58,6 @@ function hueApplyScene($groupId, $sceneId, $transitionTime = null)
         $command = new Phue\Command\SetGroupState($group);
         if (null !== $transitionTime) {
             $command->transitionTime($transitionTime);
-        } else {
-            $command->effect('none');
         }
         $hue->sendCommand($command);
         $group->setScene($sceneId);