New to home assistant and trying to figure out how I can convert a sensor with 5:34:34 ( hours:minutes:seconds ) to something like 5h 34m as it looks cleaner and nicer in the UI.
I have tried many ways but none seems to work. Any help would be appreciated.