bimmerconnected / bimmer_connected

🚘 Library to query the status of your BMW or Mini from the ConnectedDrive portal
Apache License 2.0
362 stars 79 forks source link

0.8.0 Missing max range #349

Closed nottledim closed 2 years ago

nottledim commented 2 years ago

Describe the issue

The attribute bmw_max_range aka max_range_electric in cli has a null value.

BMW i3 120

Expected behavior

It always used to show max_range

Which Home Assistant version are you using?

core 2021.11.4

What was the last working version of Home Assistant Core?

No response

What is your region?

Rest of world

ConnectedDrive website

Number of cars

Output of bimmer_connected fingerprint

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

nottledim commented 2 years ago

bmw_max range is local to me; it's template that converts sensor.i3_120_max_range_electric from km to miles.
Sorry if I confused you.

rikroe commented 2 years ago

Are you using the custom component from https://github.com/bimmerconnected/ha_custom_component? If yes, please provide a fingerprint and check if you can find a matching value. I think it is not available anymore.

If not using the custom component, you have to wait for a HA update or use the custom component until then as BMW changed their API.

nottledim commented 2 years ago

Yes, custom component. fingerprints is a new thing to me. I can't see anything that looks like max-range in the json output. I'm not bothered if it's not there it's just I noticed.

vehicles_v2_bmw_0.txt

rikroe commented 2 years ago

Then it is unfortunately not support by the new API anymore.

github-actions[bot] commented 2 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.