فهرست منبع

changed type of DP 9

almirus 2 سال پیش
والد
کامیت
da594b918c
1فایلهای تغییر یافته به همراه1 افزوده شده و 7 حذف شده
  1. 1 7
      custom_components/tuya_local/devices/ble_smart_plant_moisture.yaml

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

@@ -25,17 +25,11 @@ secondary_entities:
           - scale: 10
         unit: C
   - entity: sensor
-    translation_key: temperature_unit
+    name: Temperature unit
     category: diagnostic
     dps:
       - id: 9
-        name: option
         type: string
-        mapping:
-          - dps_val: "f"
-            value: fahrenheit
-          - dps_val: "c"
-            value: celsius
   - entity: sensor
     class: battery
     category: diagnostic