Show time as 'hh:mm' on a card in Lovelace

Goodmorning,
As a NOOB Home Assistant user I do have the following question:
Is it possible to show de duration of an online machine (like an Xbox with the Xbox Addon) in hours:minutes on the Lovelace interface?

I’ve created a binary_sensor for the Xbox Media Player with the following configuration:

binary_sensor:
 - platform: template
   sensors:
   xboxone:
    friendly_name: "Xbox"
    entity_id: media_player.xbox_one
    value_template: >-
      {{ not is_state('media_player.xbox_one', 'off') }}

Now it is visible in Lovelace, but shown as ‘h’. I would like to show the value in Lovelace, like:

timestamp_custom(’%Y/%m/%d at %H:%M’)

so for example for mine agenda i use this:

value_template: >
          Date: {{ as_timestamp(states.calendar.xxxxxx.attributes.start_time) | timestamp_custom('%Y/%m/%d at %H:%M') }}

Thanx, Timx, that was the trick!