-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[fronius] fix powerflowchannelpakku documentation #15381
Conversation
fixes #15074 Signed-off-by: Marc Bartelt <github@mleuser.de>
Don't know what is good or wrong, but it is not making it more clear. Most systems show a + when charging/increasing and a - when discharging/decreasing. The label is about the battery, so from the battery perspective if it is charging / increasing, so i would say a + is the best option. (as how it was). |
Agree that it would be more intuitive to have a positive number (+) when charging and a negative number (-) when discharging. However the inverter's API produces the opposite. So right now the documentation is wrong. The other option is to multiply the value by -1 to make the documentation correct, but not sure if that's a smart thing to do considering it only affects one particular property and all the others do not alter the API output. |
Might be counter intuitive, but agree better to follow the API. |
Co-authored-by: jimtng <2554958+jimtng@users.noreply.github.com> Signed-off-by: Marc Bartelt <marcquark@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This will make the documentation in sync with channel description: |
* [fronius] fix powerflowchannelpakku documentation fixes openhab#15074 --------- Signed-off-by: Marc Bartelt <github@mleuser.de> Signed-off-by: Marc Bartelt <marcquark@users.noreply.github.com>
* [fronius] fix powerflowchannelpakku documentation fixes openhab#15074 --------- Signed-off-by: Marc Bartelt <github@mleuser.de> Signed-off-by: Marc Bartelt <marcquark@users.noreply.github.com>
* [fronius] fix powerflowchannelpakku documentation fixes openhab#15074 --------- Signed-off-by: Marc Bartelt <github@mleuser.de> Signed-off-by: Marc Bartelt <marcquark@users.noreply.github.com>
* [fronius] fix powerflowchannelpakku documentation fixes openhab#15074 --------- Signed-off-by: Marc Bartelt <github@mleuser.de> Signed-off-by: Marc Bartelt <marcquark@users.noreply.github.com> Signed-off-by: querdenker2k <querdenker2k@gmx.de>
* [fronius] fix powerflowchannelpakku documentation fixes openhab#15074 --------- Signed-off-by: Marc Bartelt <github@mleuser.de> Signed-off-by: Marc Bartelt <marcquark@users.noreply.github.com> Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
fixes #15074