No, a Switch Item state is ON or OFF.
This is about presentation.
Why, where did you put it? You haven’t shown us.
You can define some [state presentation] in your Item definition label.
You can also define a different [state presentation] in your sitemap widget. This will override that of the Item definition.
So in your orginal post, [ ] overrides [MAP(door1.map)], resulting in no display.
In your original test attempt, [%s] overrides [MAP(door1.map)], and %s displays the default state options suggested by the binding. That seems like a nuisance to me, but I don’t know a way to get rid of the suggested options apart from making your own MAP.
Any such MAP will work off the Item raw state, not the binding suggested options.
Now we don’t know what your doing.
If you want the Item state shown with the [state presentation] in your Item definition, don’t put any [state presentation] at all in your sitemap widget.
put the [state presentation] (e.g.MAP) in the widget.
Glad to see you got it working. OPEN=ALARM translates OPEN to ALARM, not ALARM to OPEN so if the unit states were ALARM and OK, as per your earlier post, it still would not have worked, hence my question on what you posted.