Whilst it does sound like a faulty sensor, I know you say the brake lights work ok, for the cost of one I would change the brake light switch. Once came across a similar problem brake lights worked ok, but three amigos were on, changed switch and bingo,