rossko57
(Rossko57)
8
Can confirm this behaviour with OH2.4
I have some one-button switches in my sitemap - never noticed this (lack of) effect because I use visibility= as well to alter text
Switch item=test_motion_U1gate mappings=[ON="Detect"] visibility=[motion_U1gate!=ON]
Switch item=test_motion_U1gate mappings=[ON="Motion!"] visibility=[motion_U1gate==ON]
but even in that case the button should really “light up” red, and it doesn’t.
I would log a github issue for BasicUI & ClassicUI