|
|
Re: label taken from channel-type and not from overwritten channel definition [message #1781255 is a reply to message #1781159] |
Mon, 05 February 2018 07:02 |
Arne Plöse Messages: 4 Registered: February 2018 |
Junior Member |
|
|
I'm using Paper UI
Make sure Configuration > System > Item Linking > Simple Mode is disabled.
1. In Configuration > Things > "ThingName" > "ChannelName" press the empty circle of said channel ("Tuesday").
2. In the dialogbox select "+Create new item".
3. In the now opened dialogbox "Link channel" the
name will be "FHT80b202_SwitchTime" and the
label will be "Switch Time".
If I had the channel with id="tuesdaySwitchTimes" I would expect to have as
name "FHT80b202_Tuesday" and as
label "Tuesday".
OK Im scanned the paperUI sources.
in /org.eclipse.smarthome.ui.paper/web-src/js/controllers/controller.things.view.js
in line 79: $scope.linkChannel = function(channelID, event, preSelect) {
In this function suggestedLabel is taken from the channeltype instead from the channel.
And the result of getItemNameSuggestion is also from channelType.
[Updated on: Mon, 05 February 2018 08:46] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03434 seconds