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![image](https://user-images.githubusercontent.com/29235332/213126408-838b0f83-a203-4fcb-bbc2-69927b80f3a8.png)
lx
:Output, if set to![image](https://user-images.githubusercontent.com/29235332/213127093-d61ab047-2096-4f09-b968-837b0c698a4b.png)
W/m2
: