Explorar o código

delete temperature mapping https://github.com/make-all/tuya-local/pull/1696#discussion_r1510212819

almirus hai 1 ano
pai
achega
5ccfbc859d

+ 1 - 12
custom_components/tuya_local/devices/ble_smart_plant_moisture.yaml

@@ -20,21 +20,10 @@ secondary_entities:
       - id: 5
         name: sensor
         type: integer
+        class: measurement
         mapping:
           - scale: 10
         unit: C
-  - entity: select
-    translation_key: temperature_unit
-    category: config
-    dps:
-      - id: 9
-        name: option
-        type: string
-        mapping:
-          - dps_val: "c"
-            value: "C"
-          - dps_val: "f"
-            value: "F"
   - entity: sensor
     class: battery
     category: diagnostic