def lookup_offset(self, sensor):
if self._device.product == '<STR_LIT>':<EOL><INDENT>return <NUM_LIT:4><EOL><DEDENT>return (sensor + <NUM_LIT:1>) * <NUM_LIT:2><EOL>
Lookup the number of sensors on the device by product name.