DTC P0504-15: Brake Switch 'A'/'B' Correlation: General Description
WARNING: This page is about a different car, the 2024 Kia Sorento. However, it is still accessible from the selected car via links, so may be relevant.
The brake switch is installed on the upper side of the brake pedal checks brake pedal operation.
Brake switch and the brake lamp switch are included inside of the brake switch.