So, I understand how to set a sensor(entity) output, as to how many zero(s) are after the decimal point. And this is working fine, when displaying a temperature reading in the Frontend. I have my Outside sensor, set for “0.0” and it displays “72.6”
The issue I’m having, is when I ask Alexia for the same Outside Temperature, it will say the Temp, out to 3 places after the decimal point.
I also have a Ulanzi Display running Awtrix 3, and it’s doing the same thing, displaying the Temp as “72.573”
Sorry I can’t help with node-red. But that template can be used in a template sensor (Integrations → Helpers → Template). Paste everything including the curly braces into the area for the template. This will create a new sensor that only has 1 decimal place.
Thanks, but that didn’t work, I suspect it is because the “Current State” node, just before the “Change” node I inserted. Is outputting a string, and not a number.
I was going to include the Awtrix Flow, that I’m using. But their website(https://flows.blueforcer.de/), is down.
That did the trick, well almost. For the “payload” to get thru the “Parser” node, it needs to be in text format. So my ?, is this a valid statement, in the Change node?