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

Min value not reset to source when recreating device #12

Open
Heizelmann opened this issue Jan 16, 2017 · 2 comments
Open

Min value not reset to source when recreating device #12

Heizelmann opened this issue Jan 16, 2017 · 2 comments

Comments

@Heizelmann
Copy link

When recreating a device from device edit dialog the min value is set always to zero although a source value not 0 exists. Mean and max value are reset correctly.

@mwittig
Copy link
Owner

mwittig commented Jan 16, 2017

When a device is recreated all stats are reset to 0 by design. I'll have a look into this later to understand why it does not seem to work in your case.

See also https://github.com/mwittig/pimatic-filter/blob/master/filter.coffee#L193

@Heizelmann
Copy link
Author

Heizelmann commented Jan 16, 2017

But that is not OK in my opinion. Min, max and mean should be set to source. For mean and max this is already done, For min not.

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

No branches or pull requests

2 participants