giuseppecastaldo / ha-addons

Home Assistant Whatsapp Add-on
Apache License 2.0
49 stars 18 forks source link

accented letters and lines #15

Closed shevaxsempre closed 1 year ago

shevaxsempre commented 1 year ago

hi Giuseppe, sorry for writing to you here. I would need help if you can, I've always had a problem sending messages using the HA service via nodered, basically if in the Message payload filled previously I have a new line ( \n ) the message is not sent. Doing the rreplace and deleting the line is something I never liked, there is a solution what can you advise me? Thank you

giuseppecastaldo commented 1 year ago

hi Giuseppe, sorry for writing to you here. I would need help if you can, I've always had a problem sending messages using the HA service via nodered, basically if in the Message payload filled previously I have a new line ( \n ) the message is not sent. Doing the rreplace and deleting the line is something I never liked, there is a solution what can you advise me? Thank you

I'm sorry, but I've never used nodered

jun3280net commented 4 months ago

hi Giuseppe, sorry for writing to you here. I would need help if you can, I've always had a problem sending messages using the HA service via nodered, basically if in the Message payload filled previously I have a new line ( \n ) the message is not sent. Doing the rreplace and deleting the line is something I never liked, there is a solution what can you advise me? Thank you

Hi @shevaxsempre I'm sure you've figured out a solution by now, but I've posted my learnings here for anyone else interested : https://community.home-assistant.io/t/getting-new-lines-to-display-in-messages-from-call-service-node-for-whatsapp/697765/3