Electrical – Unknown rubber piece on electrical box

electricalrecessed-lighting

Last night my wife turned on a recessed light in the shower. Shortly after, the light buzzed, got brighter and started smelling so she turned the light off.

I took it apart today and see something I never saw before – a black rubber piece attached to the metal electrical box. I originally thought this was perhaps a sacrificial thing if a wire touches the metal box but the breaker didn't trip. This was the cause of the smell – it was burning.

Will end up replacing all this stuff just in case but what's the black rubberish thing called and what's it's purpose?

My house was built in the US in 1985.

enter image description here

"GTE RP"
https://i.stack.imgur.com/3y9Kf.jpg

enter image description here

Best Answer

To me it looks like it could be a thermal cutout switch, which is designed to interrupt the circuit if the light fixture overheats.