Perhaps the sensor wasn't the problem but you could try disconnecting the battery and leaving it for a while. This will reset the ECU and might clear the lights.
Make sure you know your radio code before you disconnect the battery.
Make sure you know your radio code before you disconnect the battery.