Using the gauge as a temperature display, the input to it is in F.
I have used the angular expression {{ (payload.currently.temperature - 32) * 5/9 | number:0 }} to convert to C (in the Value Format field).
The numeric display on the gauge is correct, however the icon representation is still showing the value as it would be for F. I am assuming I have done something wrong in the expression above?
Ok, spoke too soon. Don't believe it is related to my input.
Digging deeper it seems I cannot enclose the payload part of the expression in parenthesis without it throwing a type error.
For example, this {{payload.currently.humidity*(100-5)}} works. But {{(payload.currently.humidity)*(100-5)}} throws an error. Any idea where I'm going wrong?
For this particular case (temp conversions), I often just use a range node to convert the value before passing it to the UI widget. E.g. to go from F to C, set the input range from 32-212 and the output as 0-100...