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

added get_ methods and option to pass a aiohttp session #108

Merged
merged 2 commits into from
Jul 1, 2021

Conversation

eavanvalkenburg
Copy link
Collaborator

cleaned up little things and added get_ methods for each of the updates, since I now have to do that in HA!
Also added the option to the async client to add a session in the constructor.

@jm-73
Copy link
Collaborator

jm-73 commented Jun 30, 2021

Is the changes compatible with the current Indego code? Or do we have to change anything in the main package also @eavanvalkenburg ?

@eavanvalkenburg
Copy link
Collaborator Author

No, the current methods stay the same, just added getters which refresh and return the value. The session has a default so other code will not have to change.

@jm-73 jm-73 merged commit d601455 into sander1988:master Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants