audiconnect / audi_connect_ha

Adds an audi connect integration to home assistant
MIT License
232 stars 96 forks source link

How to use this package in China? #153

Closed Chare-Dream closed 6 months ago

Chare-Dream commented 2 years ago

In China, Audi connect logs in using the mobile phone number, but when I enter the mobile phone number in username, it shows INVALID.

RichardTHF commented 2 years ago

Yeah, same issue.

Audi CN only allows for phone numbers for the login, when logging in I get the error "Username invalid".

I have had a look through the code and can't see where it is doing validation against a specific string type? if I could have any pointers to where that validation is done I am happy to make my own branch to get it working in CN.

casdr commented 1 year ago

@RichardTHF @Chare-Dream could you try changing this line locally? https://github.com/arjenvrh/audi_connect_ha/blob/0c0eba5ecf18b14af67c7f65ff94f3014fbf3ab0/custom_components/audiconnect/config_flow.py#L59

To:

                    username=self._username,
github-actions[bot] commented 7 months ago

This issue is stale because it has been open for 60 days with no activity. Are you still experiencing this issue?