14 lines
244 B
Plaintext
14 lines
244 B
Plaintext
return {
|
|
on = {
|
|
devices = {
|
|
'myDevice'
|
|
}
|
|
},
|
|
logging = {
|
|
level = domoticz.LOG_INFO,
|
|
marker = 'template',
|
|
},
|
|
execute = function(domoticz, device)
|
|
domoticz.log('Device ' .. device.name .. ' was changed', domoticz.LOG_INFO)
|
|
end
|
|
} |