J'ai ce code lua dans un script , je ne recois pas de notifications (pas vues en tous cas)
savez vous où ces notifications sont envoyées?
Merci
Code : Tout sélectionner
if(otherdevices_svalues[nom_device_text] ~= Text_sensor_update) then
commandArray['UpdateDevice'] = id_device_text.."|0|"..Text_sensor_update
if couleurJourJ1 == "ROUGE" and alert_rouge == true then
commandArray['SendNotification']='Tempo: Demain Rouge#Demain (à partir de 6h du matin) est annoncé comme un jour tempo ROUGE !'
elseif couleurJourJ1 == "BLANC" and alert_blanc == true then
commandArray['SendNotification']='Tempo: Demain Blanc#Demain (à partir de 6h du matin) est annoncé comme un jour tempo BLANC.'
elseif couleurJourJ1 == "BLEU" and alert_bleu == true then
commandArray['SendNotification']='Tempo: Demain Bleu#Demain (à partir de 6h du matin) est annoncé comme un jour tempo BLEU.'
end
end
end