If you dream of switching off the light, it can mean you choose to be in darkness. In metaphor interpretation, this is bad.
If you had been dreaming of switching on the light, it can mean you desire to find light to illuminate your life.
Pic prompt – light switch. From The Daily Spur Jan 22 2021.