Skip to content

Fix for deprecated getLiveSessionData#178

Draft
jjlawren wants to merge 1 commit intobretterer:mainfrom
jjlawren:getLiveSessionData-deprecation
Draft

Fix for deprecated getLiveSessionData#178
jjlawren wants to merge 1 commit intobretterer:mainfrom
jjlawren:getLiveSessionData-deprecation

Conversation

@jjlawren
Copy link
Copy Markdown

Applying the suggested fixes discussed in bretterer/home-assistant-rivian#254. Tests also updated and passing.

Will require a fix in the HA custom component here by also replacing getLiveSessionData with getLiveSessionHistory.

Copy link
Copy Markdown
Collaborator

@natekspencer natekspencer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getLiveSessionData and getLiveSessionHistory are not compatible data models. As such, instead of remapping the underlying query for get_live_charging_session, it and the related tests should be renamed and validated appropriately.

@natekspencer natekspencer marked this pull request as draft March 29, 2026 20:01
@jjlawren
Copy link
Copy Markdown
Author

Fair enough. This appeared to restore functionality of the HA integration in my limited testing, but I unfortunately wasn't able to set up a full validation environment yet. Please feel free to close if this is the wrong approach.

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.

2 participants