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

[radiothermostat] Fix JSON thermostat data parsing error #11635

Merged
merged 1 commit into from
Nov 23, 2021

Conversation

mlobstein
Copy link
Contributor

Fix #11625
If the thermostat returned a JSON value for the set point that was not a whole number (not ending in .00), the JSON parsing would silently fail and prevent the thermostat channels from updating. The DTO was updated to parse these values as a Double instead of Integer.

Test build available here:
https://github.com/mlobstein/mlobstein-beta-test/raw/master/org.openhab.binding.radiothermostat-3.2.0-SNAPSHOT.jar

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Copy link
Contributor

@lolodomo lolodomo left a comment

Choose a reason for hiding this comment

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

LGTM

@lolodomo lolodomo merged commit 43ff86c into openhab:main Nov 23, 2021
@lolodomo lolodomo added additional testing preferred The change works for the pull request author. A test from someone else is preferred though. bug An unexpected problem or unintended behavior of an add-on labels Nov 23, 2021
@lolodomo lolodomo added this to the 3.2 milestone Nov 23, 2021
@lolodomo lolodomo removed the additional testing preferred The change works for the pull request author. A test from someone else is preferred though. label Nov 23, 2021
@mlobstein mlobstein deleted the radiotherm_fix branch November 23, 2021 15:28
NickWaterton pushed a commit to NickWaterton/openhab-addons that referenced this pull request Dec 30, 2021
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Signed-off-by: Nick Waterton <n.waterton@outlook.com>
mischmidt83 pushed a commit to mischmidt83/openhab-addons that referenced this pull request Jan 9, 2022
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Signed-off-by: Michael Schmidt <mi.schmidt.83@gmail.com>
nemerdaud pushed a commit to nemerdaud/openhab-addons that referenced this pull request Jan 28, 2022
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
andan67 pushed a commit to andan67/openhab-addons that referenced this pull request Nov 6, 2022
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
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.

[RadioThermostat] Items not being updated
2 participants