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

[sensorcommunity] State pattern for dB, Percent and Microgram/m3 added #15692

Merged
merged 2 commits into from
Nov 5, 2023

Conversation

weymann
Copy link
Contributor

@weymann weymann commented Oct 2, 2023

State pattern for dB, Percent and Microgram/m3 added

  • to avoid "one" unit for Dimensionless units Percent and dB
  • set Microgram / m3 as default particulate measure display

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

Thanks! Only one minor remark.

@lolodomo
Copy link
Contributor

So for me this PR is OK regarding the changes on state pattern. I did not look at tests as @jlaur already commented.

@lolodomo lolodomo added the enhancement An enhancement or new feature for an existing add-on label Oct 15, 2023
@lolodomo
Copy link
Contributor

@jlaur : I let you the lead on the merge of this PR.

@lolodomo
Copy link
Contributor

lolodomo commented Nov 3, 2023

@weymann : can you please look at review comments so that your PR can be merged please.

@lolodomo lolodomo added the awaiting feedback Awaiting feedback from the pull request author label Nov 3, 2023
Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
@weymann weymann force-pushed the sensorcommunity-state-patterns branch from fdfda11 to acda68d Compare November 5, 2023 13:47
@weymann
Copy link
Contributor Author

weymann commented Nov 5, 2023

@weymann : can you please look at review comments so that your PR can be merged please.

Done

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, thank you

@lolodomo lolodomo merged commit fd41eb7 into openhab:main Nov 5, 2023
2 checks passed
@lolodomo lolodomo removed the awaiting feedback Awaiting feedback from the pull request author label Nov 5, 2023
@lolodomo lolodomo added this to the 4.1 milestone Nov 5, 2023
andrewfg pushed a commit to andrewfg/openhab-addons that referenced this pull request Nov 26, 2023
openhab#15692)

* State pattern for dB, Percent and Microgram/m3 added

---------

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
austvik pushed a commit to austvik/openhab-addons that referenced this pull request Mar 27, 2024
openhab#15692)

* State pattern for dB, Percent and Microgram/m3 added

---------

Signed-off-by: Bernd Weymann <bernd.weymann@gmail.com>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
@weymann weymann deleted the sensorcommunity-state-patterns branch September 8, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants