String value not updating

Hello guys!

I’m having a problem with updating value of a String item.
String Rele1State ["%s"]

and I’m trying to update the text with:
postUpdate(Rele1State,“test”)

Console shows me this:
2016-05-07 20:55:48.882 [INFO ] [runtime.busevents ] - Rele1State state updated to test

but the sitemap actually show nothing at all.
Could someone help me with this?

Thanks!

Try the correct item definition :wink:

String Rele1State "[%s]"

Oh…sorry, i just found out, anyway, Thanks :slight_smile: