OH3.4: trend line sampling of trend item not working

I recently updated from the lastest Milestone Release to openHAB 3.4.0.

Now I am facing the problem that the Trend Line Sampling parameter in the widget options is not working anymore.

See an example here: trendSampling: is set to “5” (minutes).
Before Update (all good):
After Update (just a straight line):

Anyone else facing similar problems?
How can I debug this?

Thank you. BR

I found the error:
When defining the “Trend Line Sampling” the number in the yaml is interpreted as string:


This is not working.
The quotes has to be removed like here:

After that it is working as expected.
I think this is a bug.

I created a github issue for this:

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.