Templating help - Show remaining time in HH:MM of timer

Would you share your code please? I am trying to achieve exactly the same… THANKS!
Showing remaining timer time of a fan/light in a custom button card that turns it on - Configuration / Frontend - Home Assistant Community (home-assistant.io)