Import Lib via gui-based rules

it is a very simple question, bat i did not found a solution in this community; on which place in a GUI-based rule to declare the import, like:

“import org.eclipse.smarthome.model.script.ScriptServiceUtil”


Discussion -

Of note -
You can’t do imports in a GUI DSL rule
There are no smarthome components in OH3

1 Like

Not only that but ESH generally required Java 8 and OH3 uses Java 11.

no i founded, sorry

Sure, if you had read the discussion I pointed you at - it tells you exactly what to do.

1 Like