Closed CM000n closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 82.73%. Comparing base (
709a8b7
) to head (bfde50d
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Now it's ending with the following error:
AttributeError: 'NoneType' object has no attribute 'unit'
It looks like there is a major problem here, and your vehicle will no longer return any EVRange with air conditioning value at all. 😢
Is this information still displayed in the app? If you are a bit more technically adept, you can look directly at the API and see what information comes back. Unfortunately, I can't debug it myself as I have neither a plug-in hybrid nor a fully electric vehicle.
Can you please approve it again @GitOldGrumpy?
It really is a shame that we have to touch the models so often. I wonder what the best strategy is here to deal with the frequency of change and the changing content of API responses. 🤔
#
It looks like there is a major problem here, and your vehicle will no longer return any EVRange with air conditioning value at all. 😢
Is this information still displayed in the app? If you are a bit more technically adept, you can look directly at the API and see what information comes back. Unfortunately, I can't debug it myself as I have neither a plug-in hybrid nor a fully electric vehicle.
Have tested and now all the data is being retrieved for both cars. The EV range with A/C was avaialble in the new app up to a few weeks ago but for some reason Toyota removed it. Also for some reason the App messes up fuel range (miles/km) but not EV range in km.
Thanks for testing @briandelicata. It's really annoying what Toyota is doing here. Can one of the other maintainers [@DurgNomis-drol, @GitOldGrumpy, @joro75] please appove the pr again?
Seems there was another change in the toyota api which requires to make some fields in the
ElectricResponseModel
optional. This should fix https://github.com/DurgNomis-drol/ha_toyota/issues/248