MQTT Sensor state history does not appear when clicked from Lovelace

Hello,
If I click on my MQTT Sensor, the state history doesn’t appear, It just shows a blank graph, even with different kinds of card
image

If I click ‘Show More’, History appears and gives me the history graph I was expecting.
image

How can I get the history to appear when I click on the card in Lovelace like this?
image


Configuration of MQTT sensor:

- platform: mqtt

    state_topic: "alarm/state"

    qos: 2

    name: "Alarm Status"

    unique_id: alarm_status

    force_update: true

Thanks!

This seemed to have sorted itself out. I’ve not changed anything.