I did some additional testing. It looks like classic UI does use the “unmapped” value (like OH1), basic UI does too (but doesn’t auto-refresh) but the iOS app NOT use the unmapped value.
It doesn’t matter if the icon is remapped in the sitemap.
test.items
Group Test
Switch Test1 "Schakelaar 1 [MAP(nl.map):%s]" <switch> (Test)
Switch Test2 "Schakelaar 2 [%s]" <switch> (Test)
test.sitemap
sitemap test label="Test" {
Frame label="Schakelaars" {
Switch item=Test1
Text item=Test1
Text item=Test1 label="Schakelaar 1 [%s]" icon="switch"
Switch item=Test2
Text item=Test2
Text item=Test2 label="Schakelaar 2 [MAP(nl.map):%s]" icon="switch"
Group item=Test
}
}
nl.map
ON=AAN
OFF=UIT