What happened ?
I made a separate account as suggested in the readme that is for HA and shared my device to that account. When attempting to log in to the 2nd account, I get a generic error.
I do use a password manager to generate passwords and the password I am using is 25 characters long with A-Z, a-z, 0-9, !@#$%^* in it. I have not tried a simpler password but will if needed.
Relevant log output
Logger: custom_components.petlibro.config_flow
Source: custom_components/petlibro/config_flow.py:125
integration: PETLIBRO (documentation)
First occurred: 11:16:41 PM (1 occurrences)
Last logged: 11:16:41 PM
Unexpected exception during validation: Login attempt failed: Code: 1102, Message: ILLEGAL_PASSWORD
Traceback (most recent call last):
File "/config/custom_components/petlibro/api.py", line 206, in login
data = await self.session.request("POST", "/member/auth/login", json={
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/petlibro/api.py", line 106, in request
raise PetLibroAPIError(f"Code: {data.get('code')}, Message: {data.get('msg')}")
custom_components.petlibro.exceptions.PetLibroAPIError: Code: 1102, Message: ILLEGAL_PASSWORD
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/config/custom_components/petlibro/config_flow.py", line 125, in _validate_input
self.token = await api.login(self.email, self.password)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/petlibro/api.py", line 229, in login
raise PetLibroAPIError(f"Login attempt failed: {e}")
custom_components.petlibro.exceptions.PetLibroAPIError: Login attempt failed: Code: 1102, Message: ILLEGAL_PASSWORD
What happened ?
I made a separate account as suggested in the readme that is for HA and shared my device to that account. When attempting to log in to the 2nd account, I get a generic error.
I do use a password manager to generate passwords and the password I am using is 25 characters long with A-Z, a-z, 0-9, !@#$%^* in it. I have not tried a simpler password but will if needed.
Relevant log output