I have a sensor for the total runtime of my heatpump. This counts the total uptime in minutes and I want to convert the minutes into days.
This, however, seems to work in the developer tools >>> states tab but when I implement the sensor into my dashboard, it again shows only the minutes, whereby the graph is rather shows the correct value but not the numbers shown:
You’re running into the fact that duration sensors have a predefined format. There is an issue related to this, and a PR to address it in next month’s update, but I’m not sure if it will fix your exact issue.
You may need to override the device class to get the output you want.