Hi all,
Are there any new ways to convert a string to an item in DSL rules in OpenHAB3. I have been trying to use the:
groupName.members.findFirst[ i | i.name == itemString ]
but having problems, and it doesn’t seem to be the most efficient way of doing it.
I’ve poked around a bit but haven’t been able to get the right combination of search terms.
rossko57
(Rossko57)
2
Well, it’s not new, but -
sheesh - how did that not come up in any of my searches! Thanks!