but none of them works.
I believe I need to use the timer sensor (it.printf(0, 160, id(my_font_small), "%.0f", id(david).state);, works) and subtract the current timestamp and it.strftime it to mm:ss.
My first attempt was to do the calculation to a sensor in HA and pass that to ESP but it only updated once a minute, so I figured I need to do the calculation on the board and.
I managed to get the sntp time to work. Thank you!
But the timestamp updates too seldom. It seems like it’s once a minute or perhaps less.
I would need to get down to somewhere 2-5 seconds, not more than that.
I think you control that in your sensors. So you can change the update interval for a sensor. Certainly if you put a formatted timestamp onto a display output, it is perfectly happy updating per second. I’ve also changed my default interval from 60s to 50s to fit in with my other sensor platforms.