File Include

It’s a little difficult to tell what you are doing so I’m not sure I fully understand how you have this configured and why you have these lambdas. Were I to build something like this I’d have the UI interacting with OH through the REST API, the “configuration” represented via Items, and Rules that trigger when the configuration to update other Items as necessary so represent the updated configuration. the Rules that care about the configuration then just check the relevant config Items and do the appropriate thing based on those instead of calling a lambda to recalculate the config to see what they need to do.

I don’t see the purpose for the lambdas, but I’m also not seeing your code.

If you want to get deeper into the language look at:

I don’t think Xtend is incapable of supporting your overall goal of having your own UI. But you may need to rethink how this UI integrates with an interacts with OH.