You need to specify the GPIO pin number and sensor type when taking a reading. The sensor type can be a string, atom, or integer representation of the target sensor