Piotr Szulc 1 год назад
Родитель
Сommit
ede4ef692c

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

@@ -13,6 +13,19 @@ entities:
         mapping:
           - scale: 10
         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
     class: humidity
     dps:
@@ -31,3 +44,14 @@ entities:
         type: boolean
         name: switch
         optional: true
+  - entity: remote
+    dps:
+      - id: 201
+        name: send
+        type: string
+        optional: true
+      - id: 202
+        name: receive
+        type: string
+        optional: true
+        persist: false