瀏覽代碼

Mustool MT15/29: temperature is always C.

It seems the selector for C/F only affects the device display maybe?

Issue #3209
Jason Rumney 11 月之前
父節點
當前提交
25245db8e2
共有 1 個文件被更改,包括 1 次插入8 次删除
  1. 1 8
      custom_components/tuya_local/devices/mustool_mt15mt29_airbox.yaml

+ 1 - 8
custom_components/tuya_local/devices/mustool_mt15mt29_airbox.yaml

@@ -24,15 +24,8 @@ entities:
       - id: 2
         type: integer
         name: sensor
+        unit: C
         class: measurement
-      - id: 112
-        type: string
-        optional: true
-        name: unit
-        mapping:
-          - dps_val: f
-            value: F
-          - value: C
   - entity: sensor
     class: humidity
     dps: