All of this happens per state law. State laws are why the Electors take a pledge.
See Maine, Nebraska. Vote split between 2 candidates.
2016: Texas, Hawaii, Washington, Maine all had multiple candidates receive votes and Congress accepted them.
The 12th amendment allows for multiple candidates to be voted on for President by the electors of a single state.
Do you dispute this from a plain reading of the amendment?
-PJ