Просмотр исходного кода

Summary: Touchstone fireplace

Combine COALBEDCOLOUR with ember_bed_brightness rather than COALBEDLIGHT.

It seems that despite the naming, this is the correct combination.

Issuee #1372 (comment on previous commit)
Jason Rumney 2 лет назад
Родитель
Сommit
09c79b6918

+ 28 - 28
custom_components/tuya_local/devices/touchstone_sideline_fireplace.yaml

@@ -151,6 +151,34 @@ secondary_entities:
           - dps_val: null
             value: 0
             hidden: true
+      - id: 104
+        name: effect
+        type: string
+        mapping:
+          - dps_val: "1"
+            value: "Orange"
+          - dps_val: "2"
+            value: "Red"
+          - dps_val: "3"
+            value: "Blue"
+          - dps_val: "4"
+            value: "Yellow"
+          - dps_val: "5"
+            value: "Green"
+          - dps_val: "6"
+            value: "Purple"
+          - dps_val: "7"
+            value: "Teal"
+          - dps_val: "8"
+            value: "Pink"
+          - dps_val: "9"
+            value: "White"
+          - dps_val: "10"
+            value: "Peach"
+          - dps_val: "11"
+            value: "Cycle"
+          - dps_val: "12"
+            value: "Mystery"
   - entity: light
     name: Coal bed
     category: config
@@ -184,34 +212,6 @@ secondary_entities:
             value: 234
           - dps_val: "12"
             value: 255
-      - id: 104
-        name: effect
-        type: string
-        mapping:
-          - dps_val: "1"
-            value: "Orange"
-          - dps_val: "2"
-            value: "Red"
-          - dps_val: "3"
-            value: "Blue"
-          - dps_val: "4"
-            value: "Yellow"
-          - dps_val: "5"
-            value: "Green"
-          - dps_val: "6"
-            value: "Purple"
-          - dps_val: "7"
-            value: "Teal"
-          - dps_val: "8"
-            value: "Pink"
-          - dps_val: "9"
-            value: "White"
-          - dps_val: "10"
-            value: "Peach"
-          - dps_val: "11"
-            value: "Cycle"
-          - dps_val: "12"
-            value: "Mystery"
   - entity: select
     name: Flame speed
     icon: "mdi:fire"

+ 1 - 1
custom_components/tuya_local/manifest.json

@@ -9,5 +9,5 @@
     "iot_class": "local_push",
     "issue_tracker": "https://github.com/make-all/tuya-local/issues",
     "requirements": ["tinytuya==1.13.1"],
-    "version": "2024.1.1"
+    "version": "2024.2.0"
 }