Stop double press on button

I don’t understand how your device is working but if you truly are receiving two updates per button press you will probably have to implement some sort of debounce logic in your rule. Basically, ignore any update that occurs within too short of a time of the last one.

If you set up persistence this can be done as easily as:

    if(Kokken_Lys_Trappe.lastUpdate.after(now.minusSeconds(1)) {
        // do rule logic
    }
    // else ignore the event

Without persistence you can keep a timestamp of the last button push in a global var and compare to that:

var DateTime lastPush = null

...

    if(lastPush == null || lastPush.isAfter(now.minusSeconds(1)) {
        lastPush = now
        // do rule logic
    }
    // else ignore

NOTE: you will have to look in your logs to see how quickly the two events are received and set the minusSeconds accordingly.