Hi,
When I use stateformat with this I get the nice value of the temperature
{sprintf("%.1f °C", ReadingsVal($name,"temperature",0))}
When I do is stateformat: temp_temperature, I get the icon form the devstateicon.
I try to combine this in stateformat, but than the icon still works but the value not. Then it prints the code and not the output. Any idea how to solve this?
stateFormat temp_temperature \
{sprintf("%.1f °C", ReadingsVal($name,"temperature",0))}