]> _ Git - tortuga-home.git/commitdiff
.
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Apr 2024 18:08:41 +0000 (20:08 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Apr 2024 18:08:41 +0000 (20:08 +0200)
.idea/dataSources.local.xml
.idea/dataSources/7a96a13f-795b-43c9-b1de-56e65d9fcf95.xml
.idea/workspace.xml
scripts/lib/homeassistant.php
scripts/lib/scenes.php

index 59fa46be04b720e8ea0c90ee3bf74dd8540226b0..8eb37dbc5d9abc1e9a36d218297b7053bde047cd 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
-  <component name="dataSourceStorageLocal" created-in="IU-233.14808.21">
+  <component name="dataSourceStorageLocal" created-in="IU-241.14494.240">
     <data-source name="LFY(3).db" uuid="e5a3291d-855f-44b2-be41-76fe6b0c2136">
       <database-info product="SQLite" version="3.25.1" jdbc-version="2.1" driver-name="SQLite JDBC" driver-version="3.25.1" dbms="SQLITE" exact-version="3.25.1" exact-driver-version="3.25">
         <identifier-quote-string>&quot;</identifier-quote-string>
index 2b169be363169fee5bce4acaabeb92a3763036db..ab2ff579f019bc8881cf39b094cb9150576a6302 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <dataSource name="LFY_ZiGate.db">
-  <database-model serializer="dbm" dbms="SQLITE" family-id="SQLITE" format-version="4.51">
+  <database-model serializer="dbm" dbms="SQLITE" family-id="SQLITE" format-version="4.52">
     <root id="1"/>
     <collation id="2" parent="1" name="BINARY"/>
     <collation id="3" parent="1" name="NOCASE"/>
@@ -347,7 +347,6 @@ SubType</ColNames>
     <trigger id="119" parent="10" name="devicestatusupdate">
       <Events>I</Events>
       <SourceTextLength>181</SourceTextLength>
-      <Turn>after-row</Turn>
     </trigger>
     <column id="120" parent="11" name="ID">
       <DasType>INTEGER|0s</DasType>
@@ -391,7 +390,6 @@ SubType</ColNames>
     <trigger id="128" parent="11" name="deviceplantatusupdate">
       <Events>I</Events>
       <SourceTextLength>200</SourceTextLength>
-      <Turn>after-row</Turn>
     </trigger>
     <column id="129" parent="12" name="ID">
       <DasType>INTEGER|0s</DasType>
@@ -625,7 +623,6 @@ Date</ColNames>
     <trigger id="178" parent="18" name="floorplanordertrigger">
       <Events>I</Events>
       <SourceTextLength>176</SourceTextLength>
-      <Turn>after-row</Turn>
     </trigger>
     <column id="179" parent="19" name="ID">
       <DasType>INTEGER|0s</DasType>
@@ -1280,7 +1277,6 @@ Date</ColNames>
     <trigger id="317" parent="35" name="planordertrigger">
       <Events>I</Events>
       <SourceTextLength>151</SourceTextLength>
-      <Turn>after-row</Turn>
     </trigger>
     <column id="318" parent="36" name="Key">
       <DasType>VARCHAR(50)|0s</DasType>
@@ -1452,7 +1448,6 @@ Date</ColNames>
     <trigger id="354" parent="40" name="scenedevicesupdate">
       <Events>I</Events>
       <SourceTextLength>181</SourceTextLength>
-      <Turn>after-row</Turn>
     </trigger>
     <column id="355" parent="41" name="SceneRowID">
       <DasType>BIGINT(10)|0s</DasType>
@@ -1617,7 +1612,6 @@ Date</ColNames>
     <trigger id="388" parent="43" name="scenesupdate">
       <Events>I</Events>
       <SourceTextLength>151</SourceTextLength>
-      <Turn>after-row</Turn>
     </trigger>
     <column id="389" parent="44" name="ID">
       <DasType>INTEGER|0s</DasType>
index e67cf67419f9fdf857e7dc2ca984aa69b5fb2b43..51bf7a1d9544d80d49741962b8059e25c11b1b8c 100644 (file)
@@ -6,8 +6,10 @@
   <component name="ChangeListManager">
     <list default="true" id="352ce63a-b52a-41a2-979b-becda7920939" name="Default" comment=".">
       <change beforePath="$PROJECT_DIR$/.idea/dataSources.local.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dataSources.local.xml" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/.idea/dataSources/7a96a13f-795b-43c9-b1de-56e65d9fcf95.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dataSources/7a96a13f-795b-43c9-b1de-56e65d9fcf95.xml" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/scripts/lib/squeezebox.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/squeezebox.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/scripts/lib/homeassistant.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/homeassistant.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/scripts/lib/scenes.php" beforeDir="false" afterPath="$PROJECT_DIR$/scripts/lib/scenes.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -74,7 +76,7 @@
   <component name="MarkdownSettingsMigration">
     <option name="stateVersion" value="1" />
   </component>
-  <component name="PhpWorkspaceProjectConfiguration" interpreter_name="PHP 7.3">
+  <component name="PhpWorkspaceProjectConfiguration" interpreter_name="PHP 8.2">
     <include_path>
       <path value="$PROJECT_DIR$/vendor/composer" />
       <path value="$PROJECT_DIR$/vendor/datto/json-rpc" />
       </list>
     </recent_temporary>
   </component>
+  <component name="SharedIndexes">
+    <attachedChunks>
+      <set>
+        <option value="bundled-jdk-9f38398b9061-18abd8497189-intellij.indexing.shared.core-IU-241.14494.240" />
+        <option value="bundled-js-predefined-1d06a55b98c1-74d2a5396914-JavaScript-IU-241.14494.240" />
+      </set>
+    </attachedChunks>
+  </component>
   <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
   <component name="SvnConfiguration">
     <configuration />
       <workItem from="1709114228146" duration="2292000" />
       <workItem from="1709117286043" duration="1376000" />
       <workItem from="1710247312163" duration="2244000" />
-      <workItem from="1710336216495" duration="1424000" />
+      <workItem from="1710336216495" duration="2930000" />
+      <workItem from="1713261983472" duration="644000" />
+      <workItem from="1713376517416" duration="740000" />
     </task>
     <task id="LOCAL-00502" summary=".">
       <created>1641726946298</created>
       <option name="project" value="LOCAL" />
       <updated>1687259667913</updated>
     </task>
-    <option name="localTasksCounter" value="610" />
+    <option name="localTasksCounter" value="611" />
     <servers />
   </component>
   <component name="TypeScriptGeneratedFilesManager">
index 3115f31a6a568d1c06289b91bf3cf93f5e9cec01..79ce5c651e110e4968821d45043355b1bf01e665 100644 (file)
@@ -11,7 +11,7 @@ const HA_BAR = 'switch.bar';
 const HA_GROW_LAMPS='switch.0x00124b0025e24358';
 const HA_PLANETARIUM = 'switch.0xa4c138788071821e';
 
-const HA_OFFICE_CURTAIN='cover.office_curtain';
+const HA_OFFICE_CURTAIN='input_boolean.rideaux_bureau';
 const HA_OFFICE_SCREEN='cover.office_screen';
 
 const HA_OFFICE_MAIN_SCREEN = 'switch.0xa4c138787633f01d';
index 6b82d17fd93df0a5f7a380b25e582ccd13f9fd22..8461bb0708532b192613e3d6f0857b50abbc08ae 100644 (file)
@@ -257,10 +257,10 @@ $scenes = [
     ],
 
     'chambre/rideaux/open' => [
-        ['type' => 'ha', 'device' => 'script.rideaux_chambre_ouvre'],
+        ['type' => 'ha', 'device' => 'input_boolean.rideaux_chambre'],
     ],
     'chambre/rideaux/close' => [
-        ['type' => 'ha', 'device' => 'script.rideaux_chambre_ferme'],
+        ['type' => 'ha', 'device' => 'input_boolean.rideaux_chambre', 'command' => 'turn_off'],
     ],
     'home/alert' => [
         ['type' => 'function', 'function' => 'alert',],