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

bad logger message #89

Open
Tazmanian79 opened this issue Oct 11, 2024 · 1 comment
Open

bad logger message #89

Tazmanian79 opened this issue Oct 11, 2024 · 1 comment

Comments

@Tazmanian79
Copy link

The last week (after my Toon was updated to the latest version) I see the following error in my HA logs:

Logger: homeassistant.helpers.event
Bron: helpers/event.py:352
Eerst voorgekomen: 12:50:52 (22 gebeurtenissen)
Laatst gelogd: 12:53:02

Bad logger message: Sensor sensor.toon_p1_power_prod_cnt_high_compensation_2 has device class 'monetary', state class 'total' unit 'EUR' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-finite value: 'nan'
Bad logger message: Sensor sensor.toon_p1_waterquantity_cost_2 has device class 'monetary', state class 'total' unit 'EUR' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-finite value: 'nan'
Bad logger message: Sensor sensor.toon_gas_used_cnt_cost_2 has device class 'monetary', state class 'total' unit 'EUR' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-finite value: 'nan'

@cyberjunky
Copy link
Owner

Same as #76 I think it has to do with an invalid NaN value from my integration, and then the added cost sensor cannot calculate and throws an error. Have to see how other integration handle this.

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

2 participants