のスイッチを

the [noun]'s switch

→ の
phrase Uncommon #15,068
the [noun]'s switch の marks what the switch belongs to or is associated with, and を marks the switch as the object of the verb that follows. For example, ガスのスイッチを切る means “turn off the gas switch.”
JA: 寝る前に、エアコンのスイッチを切ってください。
EN: Please turn off the air conditioner switch before going to bed.

ルーシー電灯のスイッチをつけた

Lucy turned on the light switch.

彼女は暗がりで明かりのスイッチを手探りで捜した

She groped around in the dark for the light switch.

私は暗闇の中で手探りで電気のスイッチを探した

I groped around in the dark for the light switch.

家を出る前にガスのスイッチを切るのを忘れないでください

Please don't forget to turn off the gas before leaving the house.

ライトのスイッチを切ってください

Please turn off the light.

必ずテレビのスイッチを切りなさい

Be sure to turn off the TV.

ルーシー電気のスイッチを入れました

Lucy turned on the light switch.

彼はテレビのスイッチを入れてテレビの前に座ったまますぐに眠り込んでしまった

He turned on the TV and immediately fell asleep sitting in front of it.

炊飯器のスイッチを入れて

Turn on the rice cooker, okay?

テレビのスイッチを切った

I turned off the TV.

彼は暗闇で電灯のスイッチを手探りで探した

He groped around in the dark for the light switch.