When you’re experimenting on this, remember that you can use the template dev tool to test your formatting.
{% set value = "VAL RETURNED BY SENSOR" %}
{{ "%+0x" | format( value | int }}
When you’re experimenting on this, remember that you can use the template dev tool to test your formatting.
{% set value = "VAL RETURNED BY SENSOR" %}
{{ "%+0x" | format( value | int }}