Closed mflagler closed 7 months ago
Does this happen when you add the integration or in the normal operation?. Could you share your region? Is this the first/only mb account or do you use multiple accounts?
Could you please share the system details too? (Can be found in: Settings ⇒ System ⇒ Repairs ⇒ Three Dots in Upper Right ⇒ System information)
thx
Same here (Netherlands): ClientError requesting data from https://id.mercedes-benz.com/as/token.oauth2: 400, message='Bad Request', url=URL('https://id.mercedes-benz.com/as/token.oauth2')
It was all working fine (0.9.9) until yesterday. Updated to the beta version. After that, the PIN code email came through. Only one account.
Same problem, after upgrading to Integration v0.10.0, deleting the token and reconfiguring the plugin with email adres and the received code, my car is detected but all entities are unknown. (Code is accepted and the plugin loads fine)
This is in my system info:
MercedesME 2020 MB API reachable ok MB WS state unknown Connected cars 0 Version v0.10.0
Region is Europe, one account, worked fine for a long time.
I can reproduce it. Working on a fix.
Question to all of you: Do you have deleted the integration before upgrading the MBAPI2020 version or did you an direct update and restart? (looks like option one has a bug in the flow, or better I always tested option two)
Could you please check the following workaround:
I did a direct update and restart of HA because the PIN didn't come through email. Upgrade to 0.10.0 made the PIN come through in email, but raised an error on entry in teh add-on. Same for the beta version. Deleted the token cache after every update / restart.
Don't understand your point 3. Why add the integration again if it wasn't deleted but just updated.
@Pieter-HA: My work around assumed you have deleted it from HA (not from your disk)...
To have a clean state, I would propose that you
@ReneNulschDE: I deleted the integration, deleted the mbapi2020 directory in custom_components and restarted HA. Re-installed the integration from HACS (v.0.10.0), restarted HA (v.2024.2.0). Added the integration and SUCCESS! Thanks for your help.
Following the steps also fixed it for me on HA v2024.1.6
Solved with v0.10.1
Seeing unknown error occurred, but also getting these errors in the logs (guessing the first one is the one that triggers the prompt to reconfigure after updating to the latest version that was just pushed): Home Assistant v2024.1.6 Integration v0.10.0