Files
Domoticz/templates/UserVariable.dzVents
2025-03-06 11:09:58 +01:00

15 lines
270 B
Plaintext

return {
on = {
variables = {
'myUserVariable',
},
},
logging = {
level = domoticz.LOG_INFO,
marker = 'template',
},
execute = function(domoticz, variable)
domoticz.log('Variable ' .. variable.name .. ' was changed', domoticz.LOG_INFO)
-- code
end
}