So, I made a simple rule to turn on a led when the boiler turns on
rule "led caldaia"
when Item Relaiscaldaia changed
I restarted openhab and the rule wasn’t working anymore giving me this error
2023-11-26 06:14:07.692 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID 'heating-1' failed: An error occurred during the script execution: Could not invoke method: org.openhab.core.model.script.actions.BusEvent.sendCommand(org.openhab.core.items.Item,java.lang.String) on instance: null in heating
Now, I solved with a follow profile (which I should have used from the very beginning) and I’m not going to change this, but I’m struggling to understand what was wrong with the rule and why it was working in the beginning and why it stopped working.
Thanks for your time on such a stupid question.