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

New header is now required for accessing some data #151

Merged
merged 1 commit into from
Mar 27, 2022

Conversation

DurgNomis-drol
Copy link
Owner

@DurgNomis-drol DurgNomis-drol commented Mar 26, 2022

Toyota recently started to require this header.

DurgNomis-drol/ha_toyota#101

Toyota recently started to require this header.
@codecov
Copy link

codecov bot commented Mar 26, 2022

Codecov Report

Merging #151 (3951e44) into master (078b48c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #151   +/-   ##
=======================================
  Coverage   94.59%   94.59%           
=======================================
  Files          27       27           
  Lines        1314     1314           
=======================================
  Hits         1243     1243           
  Misses         71       71           
Flag Coverage Δ
unittests 94.59% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
mytoyota/controller.py 36.93% <ø> (ø)

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@DurgNomis-drol
Copy link
Owner Author

We may need to make a LTS release for the 0.7.* branch where this is included, as I don't have time to finish moving my Home Assistant integration to the new scheme in the near future (I am moving in two weeks). What do you think about that? I have never don that before, so I am unsure if it is a viable way 😃

@joro75 joro75 merged commit 40b630a into master Mar 27, 2022
@joro75 joro75 deleted the DurgNomis-drol-patch-1 branch March 27, 2022 13:33
@joro75
Copy link
Collaborator

joro75 commented Mar 27, 2022

@DurgNomis-drol I approved, the PR, because I wanted to have this fixed soon, because also my Domoticz plugin requires the new header. I do have a remark. You used '4.4.0' as the X_TME-APP-VERSION. However in my official Toyota MyT app on my phone, the version number is: 4.10.0. Shouldn't we use that '4.10.0' version?

I'm aware that by changing the version number some details in the communication possibly could be different. This also raises the other question: Why did you specify '4.4.0' as the version?

@joro75
Copy link
Collaborator

joro75 commented Mar 27, 2022

@DurgNomis-drol

We may need to make a LTS release for the 0.7.* branch where this is included, as I don't have time to finish moving my Home Assistant integration to the new scheme in the near future (I am moving in two weeks). What do you think about that? I have never don that before, so I am unsure if it is a viable way 😃

It is not a problem at all to maintain a separate 0.7 (LTS) branch. Also backporting this change into that 0.7 branch should be possible. Shall I configure and arrange it?

@DurgNomis-drol
Copy link
Owner Author

DurgNomis-drol commented Mar 27, 2022

@joro75

  1. There was not specific reason for choosing 4.4.0. It was just a quick test I made. Lets use 4.10.0 instead as we know that it is compatible with the latest app version. I will create a new PR for this.

  2. I would be very grateful if you could take the lead on the backport. Will review and approve when you need it, and anything else that is needed. 🚀

@joro75
Copy link
Collaborator

joro75 commented Mar 27, 2022

@DurgNomis-drol Regarding:

2. I would be very grateful if you could take the lead on the backport. Will review and approve when you need it, and anything else that is needed. 🚀

Ok. Thanks, I will do.

joro75 pushed a commit to joro75/mytoyota that referenced this pull request Mar 27, 2022
Toyota recently started to require this header.

Fixes: DurgNomis-drol#152
DurgNomis-drol added a commit that referenced this pull request Mar 28, 2022
* Update controller.py (#151)

Toyota recently started to require this header.

Fixes: #152

* Update controller.py

Co-authored-by: Simon Hansen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants