Sensor F to C

hello, am using dht11 and d1mini but am getting the temperature in F, not in C :confused:

I set my unit_system as metric but doesn’t work I found a manual way to calculate from F to C but it shows doesn’t works quite well it need to show 30 C but shows -30,-47…

value_template: ‘{{ (float(states.sensor.serverines_temperatura.state) | float - 32) * (5/9) | round(1) }}’

I though something easier just change my code to send Celsius instead of F L:D

You didn’t mention what firmware do you use?

Sorry , i don’t undestard what you mean ? hassio version or code am using on d1 mini ?

Yes, I mean code on d1 mini.