ソースを参照

feat(trotec_pac-w_heatpump): expose temperature unit as select also

Issue #3595
Jason Rumney 6 ヶ月 前
コミット
fed806c6e1

+ 12 - 0
custom_components/tuya_local/devices/trotec_pac-w_heatpump.yaml

@@ -70,6 +70,18 @@ entities:
       - id: 110
       - id: 110
         name: model
         name: model
         type: string
         type: string
+  - entity: select
+    translation_key: temperature_unit
+    category: config
+    dps:
+      - id: 19
+        type: string
+        name: option
+        mapping:
+          - dps_val: C
+            value: celsius
+          - dps_val: F
+            value: fahrenheit
   - entity: switch
   - entity: switch
     translation_key: sleep
     translation_key: sleep
     category: config
     category: config