Format values as duration

Hi, I’ve added (or rather found in the search) the „missing“ sleep fields for the stages - they only display in seconds however. Is there a way to enable duration as field type? At least for the display.

Like on the internal sleep field itself - store as seconds (as that’s the proper format and every API like Oura, Withings, … does the same) but display as duration that’s readable.

That will likely become possible when this is done:

I created the sleep stage custom fields. To have it displayed in a readable format, a formula needs to be applied. And david is working on that for charts. I guess when that is done, we will be able to add a second custom field ‘Display Value’ calculated from the seconds value.

1 Like