DO state changed
Jump to navigation
Jump to search
Triggered when output state is changed. Arguments are stored in table event.args
Arguments
outputX_statecurrent state of changed output (on/off)
Print arguments
-- print all arguments
for i, v in pairs(event.args) do
logf("%s: %s",tostring(i),tostring(v))
end