openhab / openhab-webui

Web UIs of openHAB
Eclipse Public License 2.0
212 stars 232 forks source link

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

Open andrewfg opened 1 month ago

andrewfg commented 1 month ago

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 software@whitebear.ch

andrewfg commented 1 month ago

=> @mherwege for info..

mherwege commented 1 month ago

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.