Just a very quick question, I have got a String item which receives “MOTION” and “ALARM” which
basically is a door sensor, so I would like to have it as a switch.
Is there a direct way I can define a Switch item with this channel and use a transformation map, or do I need to define a dummy item and update it if the String item receives a status change?