Wen the value is > 100 i recebe loop mensage.
Any help how too stop script loop!
Code: Select all
return {
active = true,
on = {
devices = {'Bonsai',}
},
execute = function(dz, device)
if dz.devices('Bonsai').nValue < 100 then
dz.notify("๐ Bonsai Rega", 'Ver se o Bonsai Precisa de Rega!', dz.PRIORITY_NORMAL, dz.SOUND_MAGIC, "" , dz.NSS_PUSHOVER)
end
end
}