Paper UI / Control: how to format item state?

I have:
Generic MQTT Thing
Channel: DateTime, Input Transformation for MQTT payload with javascript transformation:
String “2019-01-04 21:40:35” => “2019-01-04T21:40:35”

Item gets correct updated, but its not displayed in Control section of Paper UI

image

how do i can solve that ?

thanks in advance !

BR Lars

I wouldn’t worry too much about that.
The paperUI is not meant to be actively used for monitoring and control
You should use a sitemap or HABPanel for that purpose

i would like to have it correct like lastseen in the network binding… and i would like to understand how its done.

i just do some investigations how i can configure my espurna devices and if i may have a script that creates my things, channels and so on… so i would like to know, if i can do something to change the displayformat of the cannel…

you need to add the format in .item file

eg.
DateTime switch_light_bed1_last_seen "Last seen [%1$tY-%1$tm-%1$td %1$tH:%1$tM]" { channel="mqtt:topic:myBroker:switch_bed1:last_seen" }