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

[deconz] Exception while formatting value #10295

Closed
vespian opened this issue Mar 7, 2021 · 0 comments · Fixed by #10486
Closed

[deconz] Exception while formatting value #10295

vespian opened this issue Mar 7, 2021 · 0 comments · Fixed by #10486
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@vespian
Copy link

vespian commented Mar 7, 2021

Expected Behavior

Valve position is properly formatted as float

Current Behavior

I get an error:

2021-03-07 13:01:37.164 [WARN ] [e.internal.SseItemStatesEventBuilder] - Exception while formatting value '36.07843137254902 %' of item ThermostatDailyroomZB_Valveposition with format '%d %unit%': d != java.math.BigDecimal

in openhab.log.

Possible Solution

Very similar problem to #9269.

I do not know where exactly I should fix it though, otherwise I would have prepared a PR myself.

Steps to Reproduce (for Bugs)

  1. It is enough that the valve position is a float, like e.g. 36.07843137254902

Your Environment

  • opnenhab 3.0.1-2 running on ubuntu, installed from deb packge
  • deconz binding running conbee II
  • Eurotronics Sprit Zigbee thermostat
  • running on rasbberry pi 2, 32 bit
@vespian vespian added the bug An unexpected problem or unintended behavior of an add-on label Mar 7, 2021
cweitkamp added a commit that referenced this issue Apr 7, 2021
- Prevent exception when formatting value

Fixes #10295 

Signed-off-by: Christoph Weitkamp <[email protected]>
kaikreuzer pushed a commit that referenced this issue Apr 8, 2021
- Prevent exception when formatting value

Fixes #10295 

Signed-off-by: Christoph Weitkamp <[email protected]>
themillhousegroup pushed a commit to themillhousegroup/openhab2-addons that referenced this issue May 10, 2021
- Prevent exception when formatting value

Fixes openhab#10295 

Signed-off-by: Christoph Weitkamp <[email protected]>
Signed-off-by: John Marshall <[email protected]>
computergeek1507 pushed a commit to computergeek1507/openhab-addons that referenced this issue Jul 13, 2021
- Prevent exception when formatting value

Fixes openhab#10295 

Signed-off-by: Christoph Weitkamp <[email protected]>
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this issue Nov 7, 2021
- Prevent exception when formatting value

Fixes openhab#10295 

Signed-off-by: Christoph Weitkamp <[email protected]>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this issue May 5, 2022
- Prevent exception when formatting value

Fixes openhab#10295 

Signed-off-by: Christoph Weitkamp <[email protected]>
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 a pull request may close this issue.

1 participant