Trying to get to the bottom of a recurring headlight issue.

I have a component from the engine bay lighting harness I need to replace, but I'm not sure what it is. Relay? After replacing a shorted overheated bulb this component smoked. There's one on each side of the engine bay.
I can't find it in the parts book or anywhere online.
Has a logo and the letters COMM INSTR on the case.