Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 登录会话过期 - Session expired #8

Closed
MinhHTML5 opened this issue Jan 23, 2022 · 2 comments
Closed

Error: 登录会话过期 - Session expired #8

MinhHTML5 opened this issue Jan 23, 2022 · 2 comments
Labels
bug Something isn't working fixed

Comments

@MinhHTML5
Copy link

Hi. I was able to use the custom component for 1 day. After that, I received this error:
Got petkit devices for *********@gmail.com failed: {'error': {'code': 8, 'msg': '登录会话过期,请重新登录'}}
Translated to: Session expired, please login again.
Even restarting HASS doesn't help.
How can I fix this?
Thanks.

@MinhHTML5
Copy link
Author

Oh, in init.py
Search for:
"if eno == 5:"
Replace with
"if eno == 5 or eno == 8:"
And it'll work again.

@al-one al-one added the bug Something isn't working label Jan 24, 2022
al-one added a commit that referenced this issue Jan 24, 2022
@al-one
Copy link
Contributor

al-one commented Jan 24, 2022

Thanks ! Fiexed in 271d604.

@al-one al-one added the fixed label Mar 10, 2022
@al-one al-one closed this as completed Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

2 participants