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

powerworld_pw58330_waterheater: Added class: measurement to 'Coefficient of performance' to have a propper graph and not only a changing string.

Werner Ockert 11 месяцев назад
Родитель
Сommit
c084e913ae
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      custom_components/tuya_local/devices/powerworld_pw58330_waterheater.yaml

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

@@ -452,7 +452,7 @@ entities:
         type: base64
         type: base64
         optional: true
         optional: true
         name: sensor
         name: sensor
-        unit: '%'
+        class: measurement
         mapping:
         mapping:
           - scale: 10
           - scale: 10
         mask: "0000000000000000000000000000000000000000FFFFFFFF\
         mask: "0000000000000000000000000000000000000000FFFFFFFF\