first commit
This commit is contained in:
11
dzVents/examples/templates/variable.lua
Normal file
11
dzVents/examples/templates/variable.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
return {
|
||||
on = {
|
||||
variables = {
|
||||
'myUserVariable'
|
||||
}
|
||||
},
|
||||
execute = function(domoticz, variable)
|
||||
domoticz.log('Variable ' .. variable.name .. ' was changed', domoticz.LOG_INFO)
|
||||
-- code
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user