Possible issue with total_energy_usage_today sensor
- Dominant language
- Python
- Stars
- 30
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Hi there
Firstly, thank you very much for this HA integration. In using the total_energy_usage_today sensor I have come across what looks like an anomaly. The attached annotated pdf image hopefully makes the issue clear - it looks as if the sensor is not always correctly resetting to zero at midnight every night, possibly (?) caused when the charging gun is left plugged in after the car has charged to 100%
[EVnex HA integration issue.pdf](https://github.com/user-attachments/files/30528898/EVnex.HA.integration.issue.pdf)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the implementation of the total_energy_usage_today sensor in the integration and review the attached annotated PDF for the reported midnight-reset pattern. Reproduce the behavior with the charger left plugged in after reaching 100%, then verify that the sensor resets correctly at midnight.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100