openhab-webui icon indicating copy to clipboard operation
openhab-webui copied to clipboard

Trigger channel create new Item wrongly requires an existing Item to be selected

Open andrewfg opened this issue 10 months ago • 2 comments

Current Behavior

When using Main UI to try to create a new Item linked to a Trigger Channel, the dialog wrongly requires an existing Item to be selected. See screenshot below..

image

Expected Behavior

The dialog should NOT require an existing Item to be selected. Instead it should present the dialog fields for configuring a new Item.

Background

Platform is openHAB 4.2.0.M1 on Linux. Note: I am not sure if recent PRs concerning Item creation will have already solved this issue in the latest snapshots, as I have not tested this on the latest snapshot.

Signed-off-by: Andrew Fiddian-Green [email protected]

andrewfg avatar Apr 06 '24 11:04 andrewfg

=> @mherwege for info..

andrewfg avatar Apr 06 '24 11:04 andrewfg

That needs looking into again, but rather after https://github.com/openhab/openhab-webui/pull/2485. The new PR’s don’t do anything specific for items on trigger channels. As that would need a profile and there is no item-type, creating an item is different.

mherwege avatar Apr 07 '24 07:04 mherwege