rtvb
(Robert)
January 28, 2017, 10:40am
11
In OH2 there is an issue that some UI’s actually use the mapped value and not the raw item value. I haven’t had the time to create an issue in github yet
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 it…