I have a rule that is kinda working the problem is that i need to execute the map file but idk how i can do that i have tried in different ways but with no success. I have the file test.map that is what makes the HU command work but cant make it work.
rule “test”
when
Item test1 changed to OFF
then {
test2.sendCommand(OFF)
createTimer(now.plusSeconds(5)) [
test1.sendCommand(HU)]}
end