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

[hue] Removed internal vendor Map and minor additional improvements #10137

Merged
merged 2 commits into from
Feb 13, 2021

Conversation

cweitkamp
Copy link
Contributor

@cweitkamp cweitkamp commented Feb 13, 2021

  • Removed internal vendor Map as the vendor is exposed by the API. We additionally not only support Philips (or Signify Netherlands B.V.) and OSRAM but a lot others too
  • Minor improvements of console command messages
  • Added "members" property for groups
  • Added German translation for scene Channel

Signed-off-by: Christoph Weitkamp [email protected]

@cweitkamp cweitkamp added the enhancement An enhancement or new feature for an existing add-on label Feb 13, 2021
@@ -123,6 +127,15 @@ private void initializeThing(@Nullable ThingStatus bridgeStatus) {
}
}

private synchronized void initializeProperties(@Nullable FullGroup fullGroup) {
if (!propertiesInitializedSuccessfully && fullGroup != null) {
Copy link
Contributor

Choose a reason for hiding this comment

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

The members of a group can be changed (form the Hue app). In this case, the property will not be updated.
What is exactly the purpose of this new property in openHAB ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right. We do not need this flag. The framework checks for changes.

The property itself shows which members are part of the group.

Signed-off-by: Christoph Weitkamp <[email protected]>
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

Copy link
Contributor

@cpmeister cpmeister left a comment

Choose a reason for hiding this comment

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

LGTM

@cpmeister cpmeister merged commit b4ca793 into openhab:main Feb 13, 2021
@cpmeister cpmeister added this to the 3.1 milestone Feb 13, 2021
@cweitkamp cweitkamp deleted the feature-hue-improvements branch February 13, 2021 23:13
themillhousegroup pushed a commit to themillhousegroup/openhab2-addons that referenced this pull request May 10, 2021
…penhab#10137)

* Removed internal vendor Map and minor additional improvements
* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <[email protected]>
Signed-off-by: John Marshall <[email protected]>
thinkingstone pushed a commit to thinkingstone/openhab-addons that referenced this pull request Nov 7, 2021
…penhab#10137)

* Removed internal vendor Map and minor additional improvements
* Incorporated comments from review

Signed-off-by: Christoph Weitkamp <[email protected]>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
…penhab#10137)

* Removed internal vendor Map and minor additional improvements
* Incorporated comments from review

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
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