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

[sunspec] Handle fp numbers for voltage types #10175

Merged
merged 1 commit into from Feb 16, 2021
Merged

[sunspec] Handle fp numbers for voltage types #10175

merged 1 commit into from Feb 16, 2021

Conversation

leoguiders
Copy link
Contributor

Fixes #9269
Signed-off-by: Jan Philipp Giel mail@philsown.de

Sunspec defined voltage types throw an exception when formatting for the UI, the pattern %d %unit% has to be replaced with %.0f %unit% as already done for #9636, #9596 and #9597

Signed-off-by: Jan Philipp Giel <mail@philsown.de>
Copy link
Member

@fwolter fwolter left a comment

Choose a reason for hiding this comment

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

Thanks!

@fwolter fwolter merged commit caa445a into openhab:main Feb 16, 2021
@fwolter fwolter added the bug An unexpected problem or unintended behavior of an add-on label Feb 16, 2021
@fwolter fwolter added this to the 3.1 milestone Feb 16, 2021
@leoguiders leoguiders deleted the sunspec-fp-fix branch February 17, 2021 05:52
K4ntir4n pushed a commit to K4ntir4n/openhab-addons that referenced this pull request Feb 17, 2021
themillhousegroup pushed a commit to themillhousegroup/openhab2-addons that referenced this pull request May 10, 2021
…nhab#10175)

Signed-off-by: Jan Philipp Giel <mail@philsown.de>
Signed-off-by: John Marshall <john.marshall.au@gmail.com>
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this pull request Nov 7, 2021
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[sunspec] Exception while formatting value
2 participants