Is there any escape caracter to write < or > in the text message?

Hi
I have setup a rule that turn off my AC when the outside temperature reach a certain threshold. I have added a notification to tell me that the temperature is now lower (<) then the threshold and the AC was turned off.
When my phone displays the notification, I get [...] &lt [...] instead of the expected <.
Is there any way to display this character ?

I said, "What a silly question! This is easy!" Then I spent 10 minutes trying every combo I can think of. So you're right, doesn't seem to be a way. While it's not efficient I would use the words "less than" or "greater than" instead. That works. :wink: Maybe a developer will give us the smarter answer.

I found this old post with issues with the %, they found it worked if they used a variable. So maybe try making a variable with just the < in it, then use the variable in the notification?

4 Likes

The words ā€œaboveā€ or ā€œbelowā€ could convey the same meaning with only four additional characters vs. < and >.

3 Likes

I can't write it exactly in this reply as it gets converted by the forum, but this works for me on an iphone text

ampersand numbersign 62 semicolon for >
ampersand numbersign 60 semicolon for <
ampersand numbersign 37 semicolon for %

6 Likes
&#62;
&#60;
&#37;

Use a code block

7 Likes

I think the problem is in the cell phone, not what HE sends out.

Many releases ago changes were made to HE to strip HTML from inputs for security reasons.

1 Like

Thanks mate, but still getting the html convertion. :frowning:
When I enter the code block in the text box, It converts to '<' automatically.
I guess I'll settle for a variable or more text.

ā€œLTā€, ā€œGTā€ is all you need

1 Like

My assumption has been using Rule Machine to send a notification to your phone. Yes, Rule machine will convert the keyboard sequences into their respective characters - BUT it comes over correctly to my iPhone. I don't know about Android. Using

&#62; for >
&#60; for <
&#37; for %
1 Like