Hi, i'm new to this forum, so hello

my problem is this, i'm trying to install a remote control dimmer switch but i'm unsure as to how to do it. The wires behind the current switch have frankly confused me. I've done a diagram to give an idea as to what i mean



something like that

so how do i wire up the dimmer switch, all it has is a L = Live and a O = Other

help ops: