Parcourir la source

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

Issue #3595
Jason Rumney il y a 5 mois
Parent
commit
fed806c6e1
1 fichiers modifiés avec 12 ajouts et 0 suppressions
  1. 12 0
      custom_components/tuya_local/devices/trotec_pac-w_heatpump.yaml

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

@@ -70,6 +70,18 @@ entities:
       - id: 110
         name: model
         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
     translation_key: sleep
     category: config