-
Notifications
You must be signed in to change notification settings - Fork 780
Thing definition: accept a label and a description for a channel group #2717
Comments
It implies mainly:
Do I miss something ? I can certainly take in charge the first 3 points. Can I have an agreement for this change ? |
I assume that you mean "for the channel-group", since for the channel-group-type, this is already possible.
Yes, I agree that this makes sense. As you mention, we have that situation in the Astro binding and also in https://github.com/openhab/openhab2-addons/issues/1252 we came across the same issue. If you want to go for it, that would be great! In case you get stuck somewhere, let us know. I also do not know by heart which places need to be adapted, but your list above sounds quite good. |
Ok, I can try to update the DTD, update the XML loading and adjust the thing REST API. Can you confirm that Paper UI uses the thing REST API to get label and description for the channel groups ? If it does, it should be fixed without any additional change in Paper UI. |
I do not know. But in any case, @aounhaider1 can probably quickly adapt the Paper UI to get the information from the right place, once it is there. |
Bingo, it is working without changing anything in Paper UI. Cool. |
Implements #2717 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Closed by PR #2970 |
Like for the "channel-type", it should be possible to define an optional label and an optional description for the "channel-group-type".
The XSD has to be updated and Paper UI has to be updated to consider these "properties".
It would make channels in Paper UI clearer for certain bindings like the astro binding.
https://github.com/openhab/openhab2-addons/issues/1520
The text was updated successfully, but these errors were encountered: