Switch looks different WebGUI and IOT App (?)

Can anyone please be so kind at tell me what i’m doing wrong here…

Simple switch item with 2 states/buttons…


Thing:
Type string : oh63nuki_action  "OH63nuki Action" [ commandTopic="/nukihub/lock/action", on="lock", off="unlock" ] 

item:
Switch oh63nuki_action "OH63nuki Action" <lock> { channel="mqtt:topic:emqx:oh63mqtt:oh63nuki_action" }

Sitemap:
Switch item=oh63nuki_action mappings=[ON="Lock", OFF="Unlock"]

The result in the webgui looks just like its supposed to be:
image

however in IOS client app, its different and annoying. Any idea what i might do wrong here…
do not want to see the state as a string text

Not just you, I’m experiencing the same annoying issue with multi mappings, where the actual (useless) selection number is showing on the iOS app (version 1 & version 2)

IMG_2863

vs. in the WebUI

So I doubt we are doing anything wrong, but I assume the focus of the iOS app development is currently only on pages display, while the sitemap display is not getting much love.

I also logged a feature request to finally get ‘iconcolor’ and ‘Adjusted User Colors’ working in iOS, as the dark mode doesn’t seem to be user selectable at all in either version, so that all monochrome (and/pr coloured) icons just are pretty much invisible in dark mode.

Adding [] to the items label solves it on Android and web browsers, I guess it should be the same on iOS:

"OH63nuki Action []"

2 Likes

@sihui

You’re the king :slight_smile:

works great on iOS

I have similar problem with group item, in iOS and Android app I can see counting but in WebGUI not anymore and it happens after upgrade I think it was 4.1 to 4.3.2.

item:

Group:Switch:OR(ON,OFF) Lights  "All Lights [(%d)]"

WebGUI
11
vs iOS