Persist Peakpower of Rollershutter

Hi there,

System openHAB 2.4, Mqtt, Shelly 2.5 Rollershutter Mode.

My goal: I want to know the peak power consumption while the roller is in movement.

The Shellyswitch25_E66E4E_power item is persisted via rrd4j:

    Shellyswitch25_E66E4E_power             : strategy = everyMinute, everyChange, restoreOnStartup

This is the rule for it.
It gives a “postUpdate” to my power peak item:

rule "Shelly25_02 Power Peak"
when
Item Shellyswitch25_E66E4E_power changed
then
Shellyswitch25_E66E4E_power_peak.postUpdate(Shellyswitch25_E66E4E_power.maximumSince(now.minusMinutes(1)).state)
end

This what happens in the log while movement:

2020-12-09 19:47:37.943 [vent.ItemStateChangedEvent] - Shellyswitch25_E66E4E_power changed from 0.00 to 103.33
2020-12-09 19:47:37.983 [vent.ItemStateChangedEvent] - Shellyswitch25_E66E4E_power_peak changed from NULL to 103.33

And after the movement:

2020-12-09 19:47:53.995 [vent.ItemStateChangedEvent] - Shellyswitch25_E66E4E_power changed from 103.33 to 0.00
2020-12-09 19:47:54.059 [vent.ItemStateChangedEvent] - Shellyswitch25_E66E4E_power_peak changed from 103.33 to 0.00

My question now: Why get the 103.33 overwritten with 0.00 after the movement is finished ?

Br Peter