levelhab-config/rules/ir.rules

6 lines
145 B
Plaintext

rule "proxy IR mqtt"
when
Item proxyIR received command
then
IRCode.sendCommand(transform("MAP", "ir.map", receivedCommand.toString))
end