Yes I will add these attributes via a PR to Home Assistant. I am currently in the last phase of testing these new attributes for electric/hybrid cars. Then only the applicable sensor for the car will be shown (no fuel stuff for electric cars and vice versa).
You can already test this version by using the custom component. I guess your screenshot is from the custom component as well, but it’s not the latest version. Maybe you can give the version from the link above a try.
How will that work for my car? Mine is a rex which has both gas and electric. Either you can auto detect or you can add a config to show gas, electric, or both I guess
It will work fine. It auto detecs which type of car you have.
Already saw the results of a hybrid car (and also a i3 without rex) and that works great.
Just give it a try
The sensor.i3_94_rex_charging_status is missing due to a bug in my code. That has been fixed in the meanwhile. Can you download the latest version of the sensor here and try to see if that is correctly added now?
Currently the component will always show km. It’s on our list to add the functionallity to get the units from the HA settings and use that in the component.
The next HA release 0.70 will contain support for electric/hybrid cars and also some extra binary sensors for all cars.
One of the new sensors is a binary sensor which shows the condition based services. Below an example of the warning that the oil status is pending for maintenance.
Short question: to get this even working (using api etc. from bmw), the “Remote Services” is required, can someone confirm this? Or deny if its working without? Thanks
Remoted Services are used for i.e. locking/unlocking the car. So for that part it is required I guess as we use the same API as the app.
Maybe the info on the mileage, range etc. is available if you don’t have Remoted Service enabled. If it’s not enabled for you please try and let us know which info is available.
Yeah unlock/lock etc. is the main purpose of the remote service.
I tested the bmw app before i had the remote service to check if i get the information only (like “distance left”, “oil left” …) and this only worked when i connected my phone directly via usb to the bmw. As the service person also told me, you can only get the information without direct connection if you have the remote service. I can confirm this.
So before i had the remote service, the status.txt file didnt had any useful information. Now i do get the correct values. So the API of bmw is only avaible if you have the remote service. Thats my conclusion. Would be good to add to the information of the component.