Piotr Szulc 1 год назад
Родитель
Сommit
ede4ef692c
1 измененных файлов с 24 добавлено и 0 удалено
  1. 24 0
      custom_components/tuya_local/devices/woox_r7246_ir_remote_with_th_sensor.yaml

+ 24 - 0
custom_components/tuya_local/devices/woox_r7246_ir_remote_with_th_sensor.yaml

@@ -13,6 +13,19 @@ entities:
         mapping:
         mapping:
           - scale: 10
           - scale: 10
         class: measurement
         class: measurement
+  - entity: select
+    translation_key: temperature_unit
+    category: config
+    dps:
+      - id: 11
+        name: option
+        type: string
+        mapping:
+          - dps_val: "c"
+            value: celsius
+          - dps_val: "f"
+            value: fahrenheit
+        optional: true
   - entity: sensor
   - entity: sensor
     class: humidity
     class: humidity
     dps:
     dps:
@@ -31,3 +44,14 @@ entities:
         type: boolean
         type: boolean
         name: switch
         name: switch
         optional: true
         optional: true
+  - entity: remote
+    dps:
+      - id: 201
+        name: send
+        type: string
+        optional: true
+      - id: 202
+        name: receive
+        type: string
+        optional: true
+        persist: false