The user_info endpoint now only supports passing the email address and not the user id. This PR corrects that.
NOTE: I am using Ruff as linter, formatter etc and it seems to have made a ton of formatting changes - so sorry this is quite a messy PR. The only code that has actually changed is the get_user_info function, so if you wanted to just take that bit.
NOTE2: I can work around this for HA dev branch as it is exactly the same a calling _login_user(self.head), so not an urgent one.
Hey,
The user_info endpoint now only supports passing the email address and not the user id. This PR corrects that.
NOTE: I am using Ruff as linter, formatter etc and it seems to have made a ton of formatting changes - so sorry this is quite a messy PR. The only code that has actually changed is the get_user_info function, so if you wanted to just take that bit.
NOTE2: I can work around this for HA dev branch as it is exactly the same a calling _login_user(self.head), so not an urgent one.
KR Mark