I would visually check your brakes.
Electrics can go wrong, maybe the sensor is faulty.
Our Mini has recently had the rear brake pad warning light come on, there is about 5mm of pad material left and the garage switched off the light and told me to visually check the pads as the light will now not come on.
Maybe the same thing has been done to your car.