Seems like if you wanted to convert MB to TB you’d divide by 1024^2. It looks like you’re converting MB to KB here.
This might work.
{{ states('sensor.kelvin_storage_d_available_space') | float / 1024 / 1024 | round(1) }}
Seems like if you wanted to convert MB to TB you’d divide by 1024^2. It looks like you’re converting MB to KB here.
This might work.
{{ states('sensor.kelvin_storage_d_available_space') | float / 1024 / 1024 | round(1) }}