-
Notifications
You must be signed in to change notification settings - Fork 33
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
Create a sensor foreach attribute #75
Conversation
I just tested your version. I have the sensors to create but they are in unknown. |
@dckiller51 This PR is marked as draft as it is not ready yet :) I have to fix first the error, when not all data is available (which is your problem currently) |
@borpin @dckiller51 Do you think 60 seconds is enough? P.S. This PR is still a draft, so not everything is working correctly (only be advised if you test this change) |
To me that seems correct. Sometimes with our scale we have to go back on it because it was not at 0. |
@dckiller51 Sorry my notebook was broken so it took a little bit longer. Can you please review and test it? |
Your again did an amazing job |
@dckiller51 Thanks for your feedback :) I have fixed your findings. |
Just one last correction. The ideal weight is with many decimal. |
for more information, see https://pre-commit.ci
I fixed your last finding too and will merge it now :) |
@edenhaus |
Fixes #40
Fixes #55 long term statistics are available for sensors
Fixes #25
Fixes #51 Introducing a dependency model between each sensor/attribute and therefore we can only update some sensors/attributes.
This also gives the possibility, that we take only at most 60 seconds old values into the calculation.
Example use case: