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

energy_added state class total increasing #61

Open
3 tasks done
purcell-lab opened this issue Mar 30, 2024 · 2 comments
Open
3 tasks done

energy_added state class total increasing #61

purcell-lab opened this issue Mar 30, 2024 · 2 comments

Comments

@purcell-lab
Copy link
Contributor

Checklist

  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

I am still seeing the energy_added issue, maybe the threshold check isn't large enough?

This is an ongoing issue with the upstream FleetAPI, with multiple reports for other integrations as well:
home-assistant/core#112558
alandtse/tesla#886

Reported upstream:
teslamotors/vehicle-command#224

Reproduction steps

No response

Debug logs

2024-03-30 12:10:10.776 WARNING (Recorder) [homeassistant.components.sensor.recorder] Entity sensor.m3p_t_charge_energy_added_2 from integration teslemetry has state class total_increasing, but its state is not strictly increasing. Triggered by state 6.413 (6.434) with last_updated set to 2024-03-30T02:07:02.384138+00:00. Please create a bug report at https://github.com/Teslemetry/hacs-teslemetry/issues
@Bre77
Copy link
Contributor

Bre77 commented May 13, 2024

I believe this issue has been resolved, as the value will only decrease if if drops by over 1kWh. Have you seen this happen recently?

@purcell-lab
Copy link
Contributor Author

I am still getting this error message, from today's logs.

Maybe increase the tolerance to 2 kWh?

2024-05-13 18:00:10.396 WARNING (Recorder) [homeassistant.components.sensor.recorder] Entity sensor.m3p_t_charge_energy_added_2 from integration teslemetry has state class total_increasing, but its state is not 
strictly increasing. Triggered by state 5.236 (5.361) with last_updated set to 2024-05-13T07:55:51.930648+00:00. Please create a bug report at https://github.com/Teslemetry/hacs-teslemetry/issues

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