Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to update entities due to ValueError #75

Open
elad-bar opened this issue Jul 26, 2024 · 0 comments · May be fixed by #76
Open

Fails to update entities due to ValueError #75

elad-bar opened this issue Jul 26, 2024 · 0 comments · May be fixed by #76

Comments

@elad-bar
Copy link

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'>)
elad-bar added a commit to elad-bar/solaredgeoptimizers that referenced this issue Jul 26, 2024
@elad-bar elad-bar linked a pull request Jul 26, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant