OH3 Custom Binding : How to Change Item Name and Label on "Link Channel to Item" Page


Please refer to attached snapshot for Link Channel to Item. I am wondering to do I change the default “Name” and “Label” independently through ChannelBuilder. I have tried the following, but the default “Name” and “Label” only link to any name given in .withLabel

label = getThing().getLabel() + " " + item.label;
description = String.format(“Item %s (%s) from the remote server.”, item.name, item.label);
ChannelBuilder.create(channelUID, itemType).withType(channelTypeUID)

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.