Closed bw1faeh0 closed 1 year ago
I had the same issue. Push the edit button and set the unit to W/m2. It is cyclicly calling the checkUnit function and divide it to zero and stops then. I think the function need to set the unit of the state correct and then this will disapear also on such change.
Added to release 0.10.1
Describe the bug
If I configure sainlogic to use
W/m2
instead oflx
for the solar radiation, the object value is always set to 0. When set toW/m2
the log tellsTarget for solarradiation unit is set: W/m2, using conversion: roundTo(x / 126.7, 1)
every time data arrives from the weather station.To Reproduce
Steps to reproduce the behavior:
Expected behavior
correct calculation
Versions:
Output, if set to
lx
:Output, if set to
W/m2
: