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

Vehicle connected sensor, bug fix & deprecation resolution #17

Closed
wants to merge 7 commits into from

Conversation

zackslash
Copy link
Contributor

Hi!

This pull request adds a new sensor, fixes a pre-existing bug and resolves some deprecation warnings.

  • Adds a new sensor to indicate if a vehicle is connected to the charger (Using the same logic as the app, as a session is started when a vehicle is connected)
  • Fixes a bug where some entities would become 'unavailable' and the integration needed to be reloaded (Resolves Lock state unknown #16), this was due to the charging_time sensor being set to a state_class of 'total_increasing' while also defining 'last_reset', (this is unsupported in HA).
  • Resolves a number of deprecation warnings for recent versions of home assistant

I've been running this branch for a while, happy to answer any questions.

@zackslash
Copy link
Contributor Author

Need to fix the tests, will re PR this once ready

@zackslash zackslash closed this Dec 8, 2024
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 this pull request may close these issues.

Lock state unknown
1 participant