Trying to create my first piston.
Using Xiaomi Smart Button. (1 Button)
Simply looking to use it as a light switch so if the button is pressed and lights are off it switches lights on, else it turns lights off.
Please help as piston never evaluates the first condition and goes straight to the “else” every time