MQTT Longterm statistics

HI there,

i am currently struggeling with the longtermin statistics of an MQTT item.

In the Shelly binding there are longterm stats (soft blue line):

In the MQTT item there are only recorder stats (no soft blue line):

I’ve read that the MQTT item has to be definet as measurement in state_class attribute.
I’ve changed that but nothing happens with the longterm stats.

Configuration of the items:

state_class: measurement
unit_of_measurement: W
device_class: power
friendly_name: EG_Wohnzimmer_Shelly_Wand_links switch_0 power
state_class: measurement
unit_of_measurement: °C
device_class: temperature
friendly_name: KG_Heizungskeller_Viessmann_Vitocal300A Aussentemperatur

Im on Version
2025.1.2

Any help is appreciated!

br

Dominik

Long term statistics will be recorded as of now, so you won’t see a difference in those graphs until after the expiry of the “normal” state records.

You can check the long term statistics status of an entity in the Developer tools → Statistics.

Thanks for your reply!

Forgot to mention: The normal state records are already rolled out. So i waited two weeks and the only thing what changed is the start date of the graph of the entity which is NOT working…
So every day this date shifts +1 day.

Dev Tools statistics seem fine to me:

Updated to 2025.1.3. No change in behaviour.

Any ideas?