Skip to content

Did ewelink change their API? #3

Description

@jnavascues

Today i found out that my automatizations were off which was very weird, I'm using a few smart reles with ewelink and so far they were working flawlessly.
Debugging a bit I see there is an issue while login to ewelink service.
are you guys seeing the same thing?

File "/eweapi.py", line 77, in process_health
await client.login()
File "/ewelink/client.py", line 53, in login
self.user = ClientUser(data = await self.http.login(), http=self.http)
File "/ewelink/models/user.py", line 32, in init
self.email: str | None = data.get('email', None)
AttributeError: 'NoneType' object has no attribute 'get'
{'error': 403, 'msg': 'Sign:oauthClient enable invalid'}
Unclosed client session

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions