postUpdate(NUMBER_ITEM.deltaSince(now.withTimeAtStartOfDay))

Hello friends,

I’m really new with openHAB3 and Java and need a little help.
I must know how I convert the following command in a (openHAB2.x) rule to openHAB3.

ITEM.postUpdate(NUMBER_ITEM.deltaSince(now.withTimeAtStartOfDay))

Thanx

I think the answer is here:
https://community.openhab.org/t/energy-data-rules-delta-since-start-of-the-day/115895