Colorfulclouds-weather icon indicating copy to clipboard operation
Colorfulclouds-weather copied to clipboard

云量显示问题

Open zhujunsan opened this issue 3 years ago • 1 comments

image

云量为 0.9 时含义应为 90%

zhujunsan avatar May 20 '21 09:05 zhujunsan

sensor.py

if self.kind == "cloudrate":
            return self.coordinator.data["result"]["realtime"][self.kind]

改为

if self.kind == "cloudrate":
            return self.coordinator.data["result"]["realtime"][self.kind]*100

jimsmt avatar Jan 13 '22 08:01 jimsmt