-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Conversation
Signed-off-by: Christoph Weitkamp <[email protected]>
@@ -123,6 +127,15 @@ private void initializeThing(@Nullable ThingStatus bridgeStatus) { | |||
} | |||
} | |||
|
|||
private synchronized void initializeProperties(@Nullable FullGroup fullGroup) { | |||
if (!propertiesInitializedSuccessfully && fullGroup != null) { |
There was a problem hiding this comment.
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 ?
There was a problem hiding this comment.
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]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…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]>
…penhab#10137) * Removed internal vendor Map and minor additional improvements * Incorporated comments from review Signed-off-by: Christoph Weitkamp <[email protected]>
…penhab#10137) * Removed internal vendor Map and minor additional improvements * Incorporated comments from review Signed-off-by: Christoph Weitkamp <[email protected]>
Signed-off-by: Christoph Weitkamp [email protected]