Просмотр исходного кода

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 день назад
Родитель
Сommit
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