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

Fix alwaysOn bug. #25

Merged
merged 1 commit into from
Jan 29, 2018
Merged

Fix alwaysOn bug. #25

merged 1 commit into from
Jan 29, 2018

Conversation

JrtPec
Copy link
Contributor

@JrtPec JrtPec commented Jan 24, 2018

See #24
Fixes 'alwaysOn' bug, where values were not given in Wh by the server.
Add raw flag to get_consumption and get_consumption_dataframe, if you want to get the data "as is" from the server.

Copy link

@martintamke martintamke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello JrtPec - the changes to the code look good to me. I think anyone, who needs to stock with the old getconsumption approach is well off with the "raw" flag.

However Wh makes more sense, than a 5min block.
Thank you very much for your quick work - please merge with the Master.

@JrtPec JrtPec merged commit 27a3853 into master Jan 29, 2018
@JrtPec JrtPec deleted the issue24_allways_on_bug branch January 29, 2018 22:47
@JrtPec
Copy link
Contributor Author

JrtPec commented Jan 29, 2018

@martintamke Great! Version 0.2.15 was published to pypi

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