Change AggregateFunction in Analyzer?

When I open my UI page and click on the item to analyze it in aggregation mode, the analyzer is always using “average” as aggregation function. Is it possible to change that?

I tried using “aggregationFunction” as input in YAML, but that doesn’t change anything.

My YAML text for the list item to click on:

component: oh-label-item
action: analyzer
actionAnalyzerChartType: month
actionAnalyzerCoordSystem: aggregate
aggregationFunction: max
- WaterConsumptionYesterday
icon: oh:faucet
iconUseState: true
item: WaterConsumptionYesterday
title: Wasserverbrauch gestern

  • Platform information:
    • Hardware: _Raspi4, Openhabian
    • openHAB version: 3.2.0 Stable