@Andydz asked ones how to display the current temperature in both C and F at the same time.
Original topic: Temperature units
Here you have my solution:
C:
$#WM#=="C"?#WCT#:(((#WCT#-32)*5)/9)$
F:
$#WM#=="C"?(((#WCT#*9)/5)+32):#WCT#$
How it works:
We take expressions on recalculating C into F and vice-versa:
°C x 9/5 + 32 = °F
(°F - 32) x 5/9 = °C
We write them using Facer expressions:
F out of C:
(((#WCT#*9)/5)+32)
C out of F:
(((#WCT#-32)*5)/9)
And then we put it into a condition, that checks what is the unit of currently displayed temperature.