OH3 Read data from Sonoff TH

To format the time string go to the item and then go to metadata.
A long list comes up.
Select state description.

Then put his:
%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1tS
Into the pattern field.
Save it.

The time should be formatted like this now:
2021-03-02 16:55:17