I am trying to display a sensor state value, which is of type 'timestamp' formatted as %H:%M but not able to get the strptime function to work the way I expect it.
e.g. in the Dev Tools when i add the below to the 'TEMPLATE' section
sunrise {{ strptime(state_attr("sun.sun", "next_rising"), "%H:%M") }}
it still displays the output as:
sunrise 2020-01-20T19:05:26+00:00