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

nan as value #38

Open
littleyoda opened this issue Feb 8, 2025 · 0 comments
Open

nan as value #38

littleyoda opened this issue Feb 8, 2025 · 0 comments

Comments

@littleyoda
Copy link
Owner

[A reminder for myself and for the record]
Interface enneox-os

"ValueError: Sensor sensor.sunny_boy_smart_energy_5_0_battery_power_charge_total 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-finite value: 'nan'"

Sometimes the inverter returns "nan" (not a number) instant of a measurement.
One possible way of handling this would be to return an unavailable value to HA.

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

No branches or pull requests

1 participant