Skibi
(Andreas Skibitzki)
September 20, 2018, 9:02pm
1
Hi,
if have a switch (with custom dynamic item which works):
Switch Keymatic_State "Haustür" <keymatic> {channel="homematic:HM-Sec-Key:ccu2:XXXXXXXXXX:1#STATE"}
and a mapping in the sitemap:
Switch item=Keymatic_State label="Haustür" mappings=[ON="Offen",OFF="Verschlossen"]
My Problem: the stateformat is shown in basicui (and also in the app):
What can i do?
Greetings,
Skibi
2 Likes
mjagdis
(Mike Jagdis)
September 20, 2018, 10:10pm
2
Put empty square brackets in the label in your sitemap. E.g. label=“Hastür[]”
1 Like
Skibi
(Andreas Skibitzki)
September 21, 2018, 5:30am
3
Thanks! That solved the problem.
billfor
(Bill)
January 1, 2019, 8:48pm
4
Was this a change in 2.4? I only noticed that the switch state was displayed in my sitemap when I upgraded from 2.3 to 2.4. My issue is that I used the label in the item definition and not in the sitemap.
So I had:
Switch DoorLock “Lock (upper) [MAP(lock.map):%s]” { channel=“zwave:device:2a2bd030:node5:lock_door” }
with sitemap
Switch item=DoorLock
With the above solution it seems I now have to define the label in my sitemap if I don’t want the switch state to show.