Bed pad sensor