How to get an average Value of an item (OH3)

A simple site search would have answered that

How to ask a good question / Help Us Help You - Tutorials & Examples - openHAB Community