-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[hue] Add semantic tags #18341
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] Add semantic tags #18341
Conversation
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
…dons into tag-test-hue
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@jlaur we don't yet have all the required equipment tags in OH core, but it would be good if you could look at this code anyway already. |
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@jlaur perhaps you can kindly take a look at this one? It did get caught up in the #18585 auto-tagging process .. however it was never actually reviewed by anyone in that PR. Therefore I think that the changes I made manually via this PR are more likely to be correct than the auto-tagged version. (So I will also delete the auto-changes..). Note: I draw your attention to the code in the Thing handler where I am dynamically applying equipment tags at run-time to the Things depending on their actual reported capabilities. This can serve as a good code example for other bindings that need run-time tagging. |
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.
Thanks! I have added a few questions. Otherwise LGTM.
...ab.binding.hue/src/main/java/org/openhab/binding/hue/internal/handler/Clip2ThingHandler.java
Show resolved
Hide resolved
...ab.binding.hue/src/main/java/org/openhab/binding/hue/internal/handler/Clip2ThingHandler.java
Show resolved
Hide resolved
bundles/org.openhab.binding.hue/src/main/resources/OH-INF/thing/Clip2Thing.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
@jlaur default tags removed |
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
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
In this PR we set semantic tags on Things and Channels.
Signed-off-by: Andrew Fiddian-Green software@whitebear.ch