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

PH-W218: temperature appears to be in Celsius

No feedback received on #1997, but the reading seems to be in the
Celsius range, as it would be frozen if Fahrenheit.
Jason Rumney 1 год назад
Родитель
Сommit
938f739780
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      custom_components/tuya_local/devices/phw218_waterquality_monitor.yaml

+ 1 - 0
custom_components/tuya_local/devices/phw218_waterquality_monitor.yaml

@@ -13,6 +13,7 @@ primary_entity:
       class: measurement
       class: measurement
       mapping:
       mapping:
         - scale: 10
         - scale: 10
+      unit: C
 secondary_entities:
 secondary_entities:
   - entity: sensor
   - entity: sensor
     name: pH
     name: pH