Using a SteamVR Controller to activate a lightswitch

Hi,
i really tried but now i running in circles and my google searches start bringing up only already visited links. : /

I try to activate a lightswitch with a vive controller … but i dont understand the steamVR interactable examples. I´ve tried to put the interactable script on the switch but from there i am lost.

Any suggestions how to handle this are appreciated.

finally came up with a “solution”
i created a script with a

    void OnTriggerEnter(Collider col)
    {
        Debug.Log("Switch Trigger");
        meth_paintOnTexture.generateTexture();
    }

which will call anothers scripts function to erase my canvas.
It is triggered by the controller - for that i added to small box collider to the player controller