You can use:
{{ (state_attr('sensor.note_20_next_alarm', 'Time in Milliseconds')/1000) | timestamp_custom("%A %H:%M")}}
Or you could have a look at: