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

[atlona] Volume level should be a whole number #9631

Merged
merged 1 commit into from
Jan 2, 2021

Conversation

mlobstein
Copy link
Contributor

@mlobstein mlobstein commented Jan 1, 2021

This PR fixes a bug with setting the volume level on Atlona Matrix switches. The API expects the volume to be a whole number but the binding was using double to hold the volume resulting in the number being sent having the format 'NN.0'. I also removed the dependency on Apache StringUtils.

@mlobstein mlobstein requested a review from tmrobert8 as a code owner January 1, 2021 19:37
@mlobstein mlobstein changed the title [atlona] Volume number should be a whole number [atlona] Volume level should be a whole number Jan 1, 2021
Copy link
Contributor

@t2000 t2000 left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM.

Also thank you for removing some apache.commons dependencies!

@Hilbrand Hilbrand added the bug An unexpected problem or unintended behavior of an add-on label Jan 2, 2021
Copy link
Member

@Hilbrand Hilbrand left a comment

Choose a reason for hiding this comment

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

LGTM

@Hilbrand Hilbrand merged commit 14a4a50 into openhab:main Jan 2, 2021
@Hilbrand Hilbrand added this to the 3.1 milestone Jan 2, 2021
@mlobstein mlobstein deleted the Atlona_volumeInt branch January 3, 2021 05:12
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.

3 participants