OH3: Import MQTT items? – Beginners

Hi there,

I’ve got a lot of MQTT items like this in the (old) textual definition:

String ws_heute_vormittag_text “Wetter Heute Vormittag Txt” {mqtt=”<[mqtt:weatherservice/heute_vormittag/text:state:default]”}
String ws_heute_vormittag_image “Wetter Heute Vormittag Image” {mqtt=”<[mqtt:weatherservice/heute_vormittag/image:state:default]”}

In OH3 I now want to create a thing for this service, and somehow add the above strings as MQTT topic channels. Is there any way I can add/import channels via text descriptions so this task is easier?

Edit: Well I guess I can just use the Code tab… sorry

Read more here: Source link