소스 검색

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: