I clicked the room's light switch on.

Literal

Room's light's switch [object-を] click turned-on.

カチッ is a 擬音語 for a sharp clicking sound — the snap of a light switch. Note the double の chain: 部屋の明かりのスイッチ, naturally stacking modifiers.