Hi,
I use this code to update an item:
var String msg = ""
msg="Stato Termostato Richiesto:"+
"\r\nStato Termostato="+TERMOSTATO_STATUS.state+
"\r\nFantini/Cosmi="+CALDAIA_TERMOSTATO.state+
"\r\nTermostato OpenHab="+TERMOSTATO_OPENHAB_CNT.state+
"\r\nTermostato Calendario="+TERMOSTATO_CAL.state+
"\r\nTermostato Manuale="+TERMOSTATO_MAN.state+
"\r\nTemperatura Impostata="+TERMOSTATO_T_SET_POINT.state.toString+//.substring(0,5)+
"\r\nPotenza Impostata(Servo)="+TERMOSTATO_S_SET_POINT.state+
"\r\nTemperatura Ambiente="+INGRESSO_CURRENT_TEMP.state.toString+//.substring(0,5)+
"\r\nPotenza Effettiva(Servo)="+CALDAIA_SERVOPOS_SOULISS.state+
"\r\nControllo Caldaia="+CALDAIA_CONTROLLO.state+
"\r\nControllo Assenza="+TERMOSTATO_ASSENZA.state+
"\r\nEscludi Assenza="+TERMOSTATO_ESCLUDI_ASSENZA.state
NOTIFICATION_PUSHOVER.postUpdate("openhab|0|Stato Termostato|"+msg)
The item loose the carriage return. When the item NOTIFICATION_PUSHOVER will be updated a new rule with fired to send notification with Pushover, and I need full text, but in this case only the 1st line of the string msg will be passed.
any suggestion?
Marco