Not sure if this will be helpful, but a couple of months ago my brake warning light started staying on constantly, but not fully lit. Just sort of "half-bright". Came on bright when parking brake was on, like it should, but always stayed halfway lit when brake was off.

Brake system seemed fine, tried everything, no change, until I took the sending unit apart (pic attached), cleaned it, reinstalled, light started working properly again.