almirus 2 лет назад
Родитель
Сommit
da594b918c

+ 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