소스 검색

fix(airquality5in1): correct VOC scale

Issue #2932 has this as scale: 2 with units ppm.
We also use ppm so should be the same scale (100 not 10)
Jason Rumney 1 개월 전
부모
커밋
e11b3de323
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      custom_components/tuya_local/devices/airquality5in1.yaml

+ 1 - 1
custom_components/tuya_local/devices/airquality5in1.yaml

@@ -41,7 +41,7 @@ entities:
         unit: ppm
         class: measurement
         mapping:
-          - scale: 10
+          - scale: 100
   - entity: sensor
     name: Formaldehyde
     class: volatile_organic_compounds