Can't Map in items

Hi all :slight_smile:

unfortunately i can’t map in my items-files. Map transformation is installed and no error in the logs.

I would like to map/translate the contact-item “BalkontuerkontaktOpen” to a new item “BalkontuerkontaktStatus”. The first item can be OPEN or CLOSED.

Contact     BalkontuerkontaktOpen           "Offen/Geschlossen"           {channel="deconz:openclosesensor:bc9fab04:00124b001f906278010500:open"}

String      BalkontuerkontaktStatus         "Die Balkontüre ist [%s]"    {channel="deconz:openclosesensor:bc9fab04:00124b001f906278010500:open" [profile="transform:MAP", function=""]}


That’s not normally how you would apply a transform. See examples here:

If this is just about seeing a better description via a sitemap, you can apply the transform in your sitemap file instead, and you won’t need your second string item.

1 Like

It’s working, thanks :slight_smile:

String      BalkontuerkontaktStatus         "Die Balkontüre ist [MAP(]"    {channel="deconz:openclosesensor:bc9fab04:00124b001f906278010500:open"}