brake warning switch

When I converted the dash brake warning light to LED, the light is always on dimly and go full bright when I put on the parking brake. If I put a light bulb back in, it is either on or off, no in-between.
It does annoy me when it is the LED, but you learn to ignore it.
Although it is the only dash LED that does this