# So if you use it in another template as states('sensor.your_sensor') you will have to cast it to float again