ProudElm / solaredgeoptimizers

Intergration to get optimizers information from the SolarEdge portal
49 stars 13 forks source link

Fails to update entities due to ValueError #75

Open elad-bar opened 4 months ago

elad-bar commented 4 months ago

When number is greater than 999.99, a comma is being added to the number and it failes the update process with the following error:

ValueError: Sensor sensor.power_1_0_4 has device class 'power', state class 'measurement' unit 'W' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: '1,004.82' (<class 'str'>)