Просмотр исходного кода

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

almirus 1 год назад
Родитель
Сommit
5ccfbc859d
1 измененных файлов с 1 добавлено и 12 удалено
  1. 1 12
      custom_components/tuya_local/devices/ble_smart_plant_moisture.yaml

+ 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