probably a simple matter, but I have not found a solution yet.
I would like to store the unit of an item in a variable and achieve this via a jython rule.
For example:
Number:Temperature System_Temperature_CPU_num "Temperatur CPU [%.1f %unit%]" <temperature>
The result should be “°C”, stored in a variable. Thanks!