Happy Holidays! Hope someone can help me out.
I’m working on some code that someone else typed up and I wasn’t sure what this line meant:
timer = createTimer(now.plusSeconds(5))[|sendCommand(Color_HueBulb, HSBType::RED)]
Also, what does createTimer do?
In addition, is there a way to get openhab to log something to the events.log file? I.e. whenever an if statement is run something is logged to the event saying that if statement was run. Also, when I do logInfo(“File”, “Test”) in the rules section, where does “Test” get logged to?