Gert-jan 1 год назад
Родитель
Сommit
9c8ac51ea8
1 измененных файлов с 12 добавлено и 12 удалено
  1. 12 12
      custom_components/tuya_local/devices/sunred_smart_triangle_heater.yaml

+ 12 - 12
custom_components/tuya_local/devices/sunred_smart_triangle_heater.yaml

@@ -19,34 +19,34 @@ entities:
         unit: C
         class: measurement
         readonly: true
-  - entity: select
+  - entity: number
     category: config
     name: Level
     dps:
       - id: 5
         type: string
-        name: option
+        name: value
         mapping:
           - dps_val: "0"
-            value: "0"
+            value: 0
           - dps_val: "1"
-            value: "1"
+            value: 1
           - dps_val: "2"
-            value: "2"
+            value: 2
           - dps_val: "3"
-            value: "3"
+            value: 3
           - dps_val: "4"
-            value: "4"
+            value: 4
           - dps_val: "5"
-            value: "5"
+            value: 5
           - dps_val: "6"
-            value: "6"
+            value: 6
           - dps_val: "7"
-            value: "7"
+            value: 7
           - dps_val: "8"
-            value: "8"
+            value: 8
           - dps_val: "9"
-            value: "9"
+            value: 9
   - entity: select
     translation_key: timer
     class: duration