浏览代码

powerworld_pw58330_waterheater: Added unit % to 'Coefficient of performance' to have a propper graph and not only a changing string. Actualy it is a factor but I didn't find a unit for that.

Werner Ockert 11 月之前
父节点
当前提交
646284e6d4
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      custom_components/tuya_local/devices/powerworld_pw58330_waterheater.yaml

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

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