Hey,
I have some problems with my rules: I write my rules with Visual Studio Code Openhab Extention.
But when I upload my xxx.rules file to /etc/openhab2/rules and go to Habmin Rules Habmin says: Error to load Rules.
2020-01-18 12:15:31.249 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model ‘OG.rules’
2020-01-18 12:15:33.120 [ERROR] [e.internal.items.GroupFunctionHelper] - Group function ‘AND’ requires
two arguments. Using Equality instead.
That’s nothing to do with rules. You have a defective Group Item description somewhere.
You’ll need to investigate.
The Item you are trying to trigger from has a misspelling. That’s okay, if it matches the actual Item.
Look in your events.log for the Item change that you expect to trigger this rule.
Yes, it is telling your rules file has been loaded. That is a Good Thing, and always worth checking after you have been editing - sometimes it will tell you about syntax errors instead.
I’ve reninstalled it now, and now it works but i’ve a other problem now. I linked a switch thing to my presence sensor. My sensor recognizes Movements but the Switch of my thing doesen’t “Switch”