I’m trying to recreate some of my old rules in OH3, but i’m running into some confusing problems
Sinply said, i can’t get my own script for a rule working with variables.
A variable is nessecary here, because, later, I want to get the current state of every “item” and modify it.
I am aware, that i can integrate old rules, by putting them in the “rules” directory on my Rasppi, but when I do so, the “when” gets commented out.
As of now I have looked up other topics and deducted, that “var” is working for them.
I have to admitt, i’m still new to OH3 (even though I have a bit of experience with OH2) so you can think of me as a total beginner here.