First post ever! … I’ve been using OH for a month and although there is quite a learning curve for someone like me who more into pictures than text, I’m making good progress and I’m loving the platform! Got so tired of using 10 apps to control my house
Anyway my issue is that I have a physical light switch that does not provide status updates so the openHAB GUI is almost never in sync (as is impossible of course). I’ve moved away from the standard “toggle” switch in OH and have gone with a “button” switch but the status is still shown in the form of a highlight.
Is there any way I can just have an “on” and “off” button without any selection after clicking?
Sorry, what I meant was, I did try and it still keeps the button highlighted once clicked. Apologies I should have been clearer. I’ve just copy and pasted your code exactly and the selection does not disappear one second after being clicked.
Yes it certainly makes it easier to handle, I will write like that in future rather than running over two screens
I’ve sorted it. As mentioned I’m still getting to grips with OH so I neglected to notice that I needed to add an the expire.jar to my addons folder. I know the clue was in the title Expire “Binding”. Thanks for your help @ThomDietrich
Don’t add the expire.jar manually. You can install the binding from the Add-ons menu in Paper UI. Copying the jar is only needed for bindings in development.
Glad you got it working