brake problems..(warning light)

when i disconnected the ground from the prop valve, the light turned off! so this definitely means that my problem is the prop valve?

also though, with the wire from the prop valve unplugged, when i put on the emergency brake, the light doesn't turn on. what does this mean?