Instead of switch ON, it does ON, OFF, ON

An explanation

In your case, the two channels are probably fighting in addition to the usual autoupdate dithering.

expire="10m"
That is a valid configuration by the way, but probably doesn’t do what you expect. 10 minutes after the last command or update, it will set your Item’s state to UNDEF. The binding(s) won’t do anything about sending that to the device.