Not sure if this is possible.
I have a switch Item (Main Gate) to control my main gate via mqtt, All is working well but I wonder if it is possible to have the state of the gate as well as the switch on the same line? As a picture tells a 100 words this is what I want to do.
Current State
This way when the gate is open only the close gate switch is visible and when the gate is closed the open gate is visible.
Works for me … until I think of something else