Dynamic icons with mapped item states

Well clearly you don’t to call icons by the (mapped) state seen by HABpanel, you need to specify the raw state, I don’t know how that’s done.
What’s the default here?
This looks helpful