how to pass a table to the notify function?
Posted: Sunday 13 May 2018 20:02
hi all,
when i do this
the notification work correctly,
but when i want to pass ta table variable in the fonction like
all notification are play not only NSS_PUSHBULLET and NSS_HTTP
when i do this
Code: Select all
domoticz.notify(' subject','Message',domoticz.PRIORITY_EMERGENCY, '','',{domoticz.NSS_PUSHBULLET, domoticz.NSS_HTTP})but when i want to pass ta table variable in the fonction like
Code: Select all
local subsystem = {domoticz.NSS_PUSHBULLET, domoticz.NSS_HTTP}
domoticz.notify(' subject','Message',domoticz.PRIORITY_EMERGENCY, '','',subsystem)