OH4, OH5: Linking a number item to a string channel is no problem with PaperUI, if you start creating a new item. Linking an existing Number Item to a String Channel is not working, because no items are shown as selectable except string items. Is there a possibility to change this behavior?
It’s a quibble but important. PaperUI has not existed since OH 2.x. The UI for OH 3.0+ is MainUI. It shares no code with PaperUI and is wholly separate.
There is an issue open for this already.
In the meantime, temporarily change the type of the Item to a String type, link the Item and then change it back to a Number.
Note, if it’s a String Channel that is suitable to be linked to a Number Item (i.e. it always reports a number), the binding author should have made this Channel a Number Channel to begin with so it might be worth an issue on the binding.
I tried out - it works. Thank you.