Check your motion sensor lights.
Wall switch light stays on.
This could be on the switch itself at the circuit breaker panel or in a pass through wire connection in the wall box or ceiling box.
Turn off the circuit breaker that controls your motion sensor lights.
Unless its a special switch you will find 2 insulated wires plus maybe 1 bare copper wire on the switch to your bed room.
Screw the switch back onto the electrical box turn on the breaker and test it.
The first sign of trouble is when the switch begins to behave in a fashion that is abnormal in any way.
Took the wires off the switch light stays on.
3 the reason the light remains on is that the light is permanently connected to another hot wire in the ceiling.
Then the black or darkest terminal is connected to a black wire that feeds to the light fixture to get connected on the hot contact on the fixture while the white goes to the socket sleeve of the switch.
Less commonly a light bulb socket may go bad.
From the first 3 way switch through a 3 wire cable the two travelers from the first switch are connected to the travelers on the second switch through the black and the red wires.
For some models resetting the breaker is all that is needed.
By far the most common problem is a loose wire connection at the switch itself which is subject to constant on off usage.
Leave it off for 30 seconds to one minute.
If it works replace the cover plate.
With the power turned off at the breaker connect the 2 insulted wires from the switch with a wire nut.
If so you will need to replace the socket.
Light stays on tried changing wires light stays on.
The problem is probably that the toggle has disconnected from the circuit terminals.
A wall switch is a mechanical device with moving parts that gets thousands of uses over the course of its lifespan so it s no surprise that switches eventually wear out and go bad.
In order for the light to work with the switch the ceiling light needs to be connected to the switched leg conductor coming off of the switch.